Re: crontab shutdown as (regular user or root su-) not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2012-11-13, 09:35 GMT, Frank Murphy wrote:
> This is all I use in my crontab:
> 00 01 * * * poweroff

Relying on $PATH being what you expect it to be in crontab is highly 
dangerous (see crontab(5) on details) ... I generally don’t trust $PATH 
I don’t see in crontab itself, or in this case, just use /sbin/poweroff 
directly.

Matěj

-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux