Hello,
I am trying to setup a task to run every 10 minutes in cron. Unfortunately, the release of linux the server is running seems to be using a weird cron daemon. Which doesnt seem to have a traditional crontab, instead it uses run-parts to execute directorioes of scripts. I am trying to work around this here is what I have (the last line is what I added - iit doesnt work):
:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:
/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
*/10 * * * root /usr/sbin/java -jar /opt/rm/rm.jar
The correct fix is worth 500 points.
Thanks,
Rick
Start Free Trial