You are not logged in.
Pages: 1
Hi there,
I made a little script in python that change the gnome desktop background randomly. I am using cron to execute the script every 30 minutes (using crontab -e). To test the script I wrote in the terminal:
sudo /etc/rc.d/crond restart
and cron executes without problems (desktop wallpaper change every 30 minutes as expected)
The problem is that when I restart the computer the desktop background does not change any more. Cron log says that the scripts is already executed at the configured interval but nothing changes in the wallpaper.
Any help would be appreciated.
Tks
Offline
this is the third post i've seen about cron not acting right after a reboot but acting fine after a manual restart. i can't remember if the others found a solution or what it was; but i'd suggest trying a different cron deamon. fcron has some nice features and is a drop in replacement for the default [d]cron.
could be worth a try.
//github/
Offline
I had the same issue and never did find a solution, ended up with a more manual approach which worked better in my case.
What made things odd is my backup scripts worked and continue to work with cron as intended.
Offline
I gave up cron and solved using an endless loop with a sleep call.
Tks for the answers
Offline
Pages: 1