Hi - We're getting random "bad interpreter" messages from cron. The job
itself runs every ten minutes from the the messages appear randomly, but
at least once daily.
# headers
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
# message
/bin/sh: /data/soft3/backup/monitor_3w_raid.py: /usr/bin/python: bad interpreter: No such file or directory
The script is executable and uses python:
#!/usr/bin/python
# monitor 3ware raid status
This is the cron entry in root's crontab:
# run raid monitoring every ten minutes
0-59/10 * * * * /data/soft3/backup/monitor_3w_raid.py
Does anyone have any ideas?
Jeremy