Skip to main content

Thread: cron job not working


hello,

have tried set cronjob calls simple script. cron file looks this:

code:
1 6,10,18,23 * * * /home/b0wter/bin/change_wallpaper_by_time.sh
i want call script on 6 o'clock, 10 o'clock , on. i've tested script , works flawlessly.
i've added following command gnome startup:
code:
crontab /home/b0wter/bin/change_wallpaper_by_time.cron
althought script works, cron job doesnt. i've set tool (gnome-schedule) , didnt work either, no matter combination of day/hour/minute/... chose.
ideas?

quote posted b0wter view post
hello,

have tried set cronjob calls simple script. cron file looks this:

code:
1 6,10,18,23 * * * /home/b0wter/bin/change_wallpaper_by_time.sh
i want call script on 6 o'clock, 10 o'clock , on. i've tested script , works flawlessly.
i've added following command gnome startup:
code:
crontab /home/b0wter/bin/change_wallpaper_by_time.cron
althought script works, cron job doesnt. i've set tool (gnome-schedule) , didnt work either, no matter combination of day/hour/minute/... chose.
ideas?
scripts run in logged-in user session not run in cron environments. search out hundreds of other similar posts in forums help.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] cron job not working


Ubuntu

Comments