Reputation: 21
I am trying to run a crontab with the expression given below. But i am getting bad minute error.
This is for a Linux Server.
0/5 * * * * /home/cdh_infa_user/data/pladmin/MyLinuxAgent/apps/Data_Integration_Server/data/scripts/Secureagent.sh
Do i need to install crontab? Please guide enter image description here enter image description here
Upvotes: 0
Views: 2434
Reputation: 7225
To run cron every 5 minutes you need to add command like this:
*/5 * * * * /home/cdh_infa_user/data/pladmin/MyLinuxAgent/apps/Data_Integration_Server/data/scripts/Secureagent.sh
To run cron at 5 a clock you need record like this:
0 5 * * * /home/cdh_infa_user/data/pladmin/MyLinuxAgent/apps/Data_Integration_Server/data/scripts/Secureagent.sh
Upvotes: 2