KCron and Streamripper

Derek Broughton news at pointerstop.ca
Thu Oct 16 15:54:28 UTC 2008


Mark Haney wrote:

> At the beginning of the script I would add #!/bin/bash (or insert your
> choice of shell here).

Good catch - I believe the default is dash.
> 
> It also might not be a bad idea to make the cron line look like this:
> 
> 0 0 * * 4     /home/bb/KSFR/ksfr_script >> /home/bb/KSFR/ksfr.log > 2>&1
> 
> (Watch for line breaks, that should all be one line)
> 
> to dump the potential error to a log file, since it looks like the
> system is having a problem but not logging it to syslog.

Any output from cron is supposed to be emailed (to the owner of the crontab
or to a location specified in the crontab), but if you don't have a local
mail server, of course it doesn't get sent anywhere...
-- 
derek





More information about the ubuntu-users mailing list