[plug] VNC Shell Script
James Devenish
devenish at guild.uwa.edu.au
Sun Nov 7 18:40:59 WST 2004
Hi,
In message <B8F4552D-30A8-11D9-8F16-000D936A747A at iinet.net.au>
on Sun, Nov 07, 2004 at 06:35:19PM +0800, Brock Woolf wrote:
> I looked in /var/log/syslog and towards the very end I found:
> Nov 7 18:28:00 203-59-15-249 CROND[1108]: (brock) CMD (brock
> /home/brock/scripts/rfbserver.sh)
...
> Still, the cronjob won't run the script
By the looks of that logfile entry, the problem is to do with the format
of the crontab (remember my comment that it "looks a little unusual").
As Cameron explained, the format that you used is correct for the
hostwide /etc/crontab file but is not correct for "personal" crontabs.
You have not told us how you're editing your crontab file. If you are
using `crontab -e` from the command line, you are editing your personal
crontab (i.e. /var/cron/tabs/brock) and you need to use this format:
*/2 * * * * /home/brock/scripts/rfbdrake.sh
This contrasts with the following line which is only suitable for
/etc/crontab:
*/2 * * * * brock /home/brock/scripts/rfbserver.sh
More information about the plug
mailing list