tierra wrote:
I believe the line is executed with /bin/sh, putting it in quotes is like passing a string around. You probably want:
50 10 * * * `~/test.pl single`
Put in `command`, not 'command'. I'm not entirely sure though, but worth a shot.
No, with backquotes, it will try to execute the output of "~/test.pl single", which unlikely to be useful.
To the original poster: you *have* checked to make sure it runs
from the command line, yes? Under /bin/sh? Try
Code:
/bin/sh -c '~/test.pl single'
In the crontab itself, you do NOT want quotes around the whole thing, your first line
Code:
50 10 * * * ~/test.pl none
should work.[/code]