Skip to main content

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:

code:
crontab -e
this should set user only. try , see if executes while not logged in.

code:
sudo crontab -e
would set 1 root.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Cron job help!


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support