Logo 
Search:

Unix / Linux / Ubuntu Answers

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds
  on Dec 02 In Unix / Linux / Ubuntu Category.

  
Question Answered By: Adah Miller   on Dec 02

Remember that cron runs as root and may have a different $PATH than when
you run from the console. Ensure that you use full pathnames when
referencing files. Also check the system log files for any suspicious
goings on. Next would be to insert some debugging statements in the
code to determine where it is failing. Write the debug output to a file
for later examination.

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Using cron to run a script Or get search suggestion and latest updates.


Tagged: