cron recipe error
Derek Broughton
news at pointerstop.ca
Thu Feb 23 16:38:13 UTC 2006
Alan McKinnon wrote:
> Your crontab line looks ok. This is a common problem. Usual solutions:
>
> 1. check executable permissions on script.rb
> 2. the way you have it, the first line of the script must be:
> #! /bin/bash
> 3. If all else fails, try running the script as:
> bash /home/dawson/script.rb > ...
If it was a permissions problem, or didn't have the #! line, shouldn't he
still get an email from Cron? Oh, of course, not if there's no MTA - which
is not included on a default install, anymore. Check also if package
"mailx" is installed.
--
derek
More information about the ubuntu-users
mailing list