[luau] sudo and cron
Randall Oshita
roshita at hpu.edu
Wed Nov 19 02:48:00 PST 2003
Actually, i dont think you can use PATH as a vaible in a crontab. I tried anyways and did not work.
i also tried this in my crontab
30 1 * * * * /usr/local/sudo "/export/home/x/restart_script"
which dont work either.
ideas?
-----Original Message-----
From: Vince Hoang [mailto:luau at ml.altern8.net]
Sent: Tue 11/18/2003 7:05 AM
To: luau at videl.ics.hawaii.edu
Cc:
Subject: Re: [luau] sudo and cron
On Tue, Nov 18, 2003 at 02:15:02AM -1000, Randall Oshita wrote:
> when i try to run the same command via a cron job in the same users
> crontab it dont work. it gives me sudo not found.
>
> why is that? how can i fix this?
`man 5 crontab` and search for PATH or use a full path of sudo
when running.
-Vince
_______________________________________________
LUAU mailing list
LUAU at videl.ics.hawaii.edu
http://videl.ics.hawaii.edu/mailman/listinfo/luau
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4114 bytes
Desc: not available
URL: <http://lists.freesoftwarehawaii.org/pipermail/luau-freesoftwarehawaii.org/attachments/20031119/2c80aa2c/attachment-0001.bin>
More information about the LUAU
mailing list