Thread: Cron job help!
hey guys,
have been googling issue no luck. need pretty simple actually, not know if can done. have set user account , need execute script every 15 minutes only while specific user logged in. not want run if user logged out.
can restrict cron in way or need check if user logged in script runs? (e.g. if [ $(who | grep username) != 0 ] then.....)
i think can setup cron using user this:
this should set user only. try , see if executes while not logged in.code:crontab -e
would set 1 root.code:sudo crontab -e
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Cron job help!
Ubuntu
Comments
Post a Comment