[Discuss] cron question

Ronald Schouten ron at atomeo.com
Fri Apr 18 15:46:16 PDT 2008


I want to setup a cron job that will lock my screensaver every hour.
This is possible with the command:

/usr/bin/gnome-screensaver-command --lock

I can confirm that this works from the command line on my system.
However, when using this as the command in crontab, nothing happens. I
have verified that my syntax for scheduling a job is correct since
substituting the command for another (touch foo.txt) works.

Can anyone shed some light on this?

Ron


More information about the Discuss mailing list