crontab cant call .sh
hi all,
i wrote a .sh script to start a service and it works fine during normal manual execution. Then it just wont work when i placed it into crontab.
0 15 * * * /data/PeopleSoft/E811/system/bin32/end_run_app.sh
i tested this cron with 'touch' and it managed to return the desire result.
The script is own by 'user'. Reason being that application can only be started using that particular user.
Please help.
[450 byte] By [
mfmb] at [2007-11-26 12:01:10]

# 1
Hi,
It would be better to check control files under /etc/cron.d directory.
There are two types of files: cron.deny and cron.allow.
If the user is in the cron.deny file, you should remove it from file.
By default cron.allow file does not exist, this means (if cron.allow file doen not exist) all users can access their crontab file.
If cron.allow file exists, you should add user to that list.
i hope this will solve Your problem,
regards,
zulusa
# 3
hi, you can add it to crontab of your user. crontab -u user. another thing is that cron don't know your evironment, so check you rights, paths etc.also check the rights on this script it have to be executable.~m