Adam R. B. Jack wrote:
[EMAIL PROTECTED]:~$ crontab -l 30 3,9,12,15,21 * * * cd /usr/local/gump/public/gump; /bin/bash gumpy.sh > /home/gump/CRON_DID_THIS
I keep trying to set values to catch the clock (i.e. I set 30 & 12 at 12:25) but I can't see a /home/gump/CRON_DID_THIS. I started this 'cos I don't see any fresh Gump run since I made the edit. Do I have a typo, or mistake? Am I missing something?
When I've tried to do this in the past, I've always ended up doing something like the following:
30 3,9,12,15,21 * * * sh -c "cd /usr/local/gump/public/gump; /bin/bash gumpy.sh >/home/gump/CRON_DID_THIS 2>&1"
I think it is because redirection is a shell function.
- Sam Ruby
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
