Aug 01, 2019 4:21 pm
Hi Experts,
In UNIX, I tried to open a crontab file with -l option but getting below error.
>crontab -l
crontab: can’t open your crontab file.
please help.. I need the fix immediately since it holding my automation work.
2 Replies
Aug 01, 2019 4:22 pm
It looks like that the crontab file is empty. Add the job to the crontab file and try again.
How to add job to crontab file:
1. Add the jobs list in any txt file.
2. Use that txt file to add in crontab file as below and try again with your crontab -l command.
$crontab txtfile
Aug 01, 2019 4:22 pm