[Discuss] cron question

pw p.willis at telus.net
Fri Apr 18 16:21:17 PDT 2008


pw wrote:
> Ronald Schouten wrote:
>> 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
>> _______________________________________________
>> Discuss mailing list
>> Discuss at vlug.org
>> http://ladybug.vlug.org/cgi-bin/mailman/listinfo/discuss
>>
> 
> crontab -e
> 
> <enter editing mode default editor tends to be  vi>
> 
> @hourly /usr/bin/gnome-screensaver-command --lock
> 
> 
> Peter

I misread your post.

Check to see that your desired user is in cron.allow?

Peter


More information about the Discuss mailing list