[GRLUG] crontab not running a working script

Michael Mol mikemol at gmail.com
Thu Jan 12 12:29:31 EST 2012


Michael Mol wrote:
> Bob Kline wrote:
>>
>>
>> On Thu, Jan 12, 2012 at 12:13 PM, John-Thomas Richards
>> <jtr at jrichards.org <mailto:jtr at jrichards.org>> wrote:
>> But does your script need your environment?
>> The absolute path gets your script, but under
>> what environment does cron run it?  
>>
>> The crontab(1) points out that a user can have
>> their own crontab file, but seems a little vague
>> about whether that implies anything about the
>> user's own environment.
>>
>> Can you direct any error messages when
>> the command is run to yourself?
> 
> By default, cron emails the output of commands to the user the command
> was run as, or root if it's a system cron job.
> 
> So, the output of the command should be in his inbox.

Incidentally, this is why "no news is good news."

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list