Unix/Linux Go Back    

Crontab issue

UNIX for Dummies Questions & Answers

Kindly Note - This is a Single User Post by Forum Member bakunin Regarding:
Crontab issue.
Please Follow The Primary Link Above to View the Full Discussion.

Old Unix and Linux 06-30-2013   -   Original Discussion by jrymer
bakunin's Unix or Linux Image
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
Join Date: May 2005
Last Activity: 16 June 2018, 5:26 PM EDT
Location: In the leftmost byte of /dev/kmem
Posts: 5,775
Thanks: 112
Thanked 1,693 Times in 1,244 Posts
Originally Posted by Just Ice View Post
see modified script below ... run in cron as /dir/file > /dev/null 2>&1
I think this will not work, because there is no attempt made to set any environment, namely no "PATH" variable. This looks like running into Cron Problem Number One.

I hope this helps.