You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script I wrote to execute my Overviewer commands used to execute swimmingly with cron on every fourth hour a couple of days ago. After upgrading to Ubuntu Server 12.04 and reinstalling Overviewer, cron chooses to ignore my script altogether.
The script runs fine whenever I execute the exact same line as in my cron. When cron tries to do this, something goes wrong. Here's the line in my crontab:
The script I wrote to execute my Overviewer commands used to execute swimmingly with cron on every fourth hour a couple of days ago. After upgrading to Ubuntu Server 12.04 and reinstalling Overviewer, cron chooses to ignore my script altogether.
Here are the contents of my script:
!/bin/bash
overviewer.py --verbose --config=/home/zfleeman/website/zfleeman.com/minecraft/map/overviewer_config.py
The script runs fine whenever I execute the exact same line as in my cron. When cron tries to do this, something goes wrong. Here's the line in my crontab:
0 */4 * * * bash /home/zfleeman/website/zfleeman.com/minecraft/map/overviewer.sh
Here's the error as described in postfix:
/home/zfleeman/website/zfleeman.com/minecraft/map/overviewer.sh: line 3: overviewer.py: command not found
I do not understand this at all, because overviewer.py runs just fine when I execute overviewer.sh.
Any help at all would be greatly appreciated.
The text was updated successfully, but these errors were encountered: