Link to home
Start Free TrialLog in
Avatar of rajsolaris
rajsolaris

asked on

Can not create cronjob.

Hi Experts,

I am trying to set the cron job as user niku to run the ksh script But getting the following error...


"/tmp/crontabwoaO2F" 1 line, 51 characters
*/5 * * * * /home/niku/clarprocmon.ksh > /dev/null
crontab: error on previous line; unexpected character found in line.
crontab: errors detected in input, no crontab file generated.
You have mail in /usr/mail/niku

Please help ....

Thanks
Avatar of Brian Utterback
Brian Utterback
Flag of United States of America image

The first thing that jumps out here is the very first field. I don't think */5 is a valid time specifier here. I
suspect that it is complaining about the /, there shouldn't be a slash in any of these fields.  What were you
trying to accomplish with that?
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rajsolaris
rajsolaris

ASKER

You rock Sir.

Thanks a lot  :-)
Hello Omarfarid,
You had always been a great help to me. I owe you a champagne bottle !
Thanks.