I am using AIX and I ran the following crontab command from putty
35 11 * * 3 /opt/was50/appserver1/Auto
Deploy/Tes
tDeploy.sh
2>>&1 mail -s "Crontab output" lakshmi@royalcyber.com
and I got the output of the TestDeploy.sh file in my email account. But when I tried to run the same command again by changing the time, say,
45 11 * * 3 /opt/was50/appserver1/Auto
Deploy/Tes
tDeploy.sh
2>>&1 mail -s "Crontab output" lakshmi@royalcyber.com
I am getting the following error.
ksh: 45 : not found.
Please tell me what I need to do to solve this problem. As of now, I have only given these commands in putty. But, I want to know how I can create a cron job and save it, so that it can call the cron.txt file at a scheduled time everyday.
Start Free Trial