KCron and Streamripper

Mark Haney mhaney at ercbroadband.org
Thu Oct 16 17:11:20 UTC 2008


Derek Broughton wrote:
> 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...

It's supposed to, true, but it might just be hanging in the mail spool 
of that user account (user at localhost).

-- 
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support




More information about the ubuntu-users mailing list