Menu

Trouble with running as cron job

2006-02-20
2013-05-29
  • Barry Steele

    Barry Steele - 2006-02-20

    I have installed AutoMySQLBackup on both RH9.X and Debian3.X and while I had no trouble at all on the RH box, I am having a real issue with the Debian machine.  I have edited the script and can run it as a shell script and have made a link in /etc/cron.daily. I don't get any mail notifications or backups, nuttin.

    I am not a systems admin junky, so I'm not sure if its a cron issue (but suspect so) or what.

    If anyone can suggest places to look, I'd be gratefully.

     
    • msusol

      msusol - 2006-02-20

      did you make sure the .sh file was executable on Debian box? chmod 644 ? even though you can run it from shell as root, that doesn't mean that cron can. It has to be executable.

       
    • Harley

      Harley - 2006-02-20

      Also make sure that the script doesn't use the .sh extension.. Debian systems will not execute cron scripts with a .sh extension for some reason..

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.