Hi All,
I am trying to set the job run time for .sh file from every 1 hour to 45 min time interval, but unable to set the time. I want to run the job after 45 min time interval.
I tried these two methods to set the time
0-59/45 * * * * * * * * exec /appl/prod/bin/test.sh >/dev/null 2>&1
*/45 * * * * * * * * exec /appl/prod/bin/test.sh >/dev/null 2>&1
and in both cases getting this error - crontab: error on previous line; unexpected character found in line.
Please suggest. Thanks in advance.
I am trying to set the job run time for .sh file from every 1 hour to 45 min time interval, but unable to set the time. I want to run the job after 45 min time interval.
I tried these two methods to set the time
0-59/45 * * * * * * * * exec /appl/prod/bin/test.sh >/dev/null 2>&1
*/45 * * * * * * * * exec /appl/prod/bin/test.sh >/dev/null 2>&1
and in both cases getting this error - crontab: error on previous line; unexpected character found in line.
Please suggest. Thanks in advance.