It does not say that you do not have permissions, so it is probably the version or configuration of crontab. Most Linux systems do not like the "-e" option to edit crontab and recommend that you edit the crontab file it self. To do this execute crontab with the "-l" option to list its contents and capture that in the file, then edit the file and then execute crontab filename to get crontab to use the new file.
Code:- crontab -l > crontab.out
- vi crontab.out # add the crontab entry you want
- crontab crontab.out # will get crontab to use the new file
- crontab -l # will now list the new entries you just added to crontab
Copy Code |