#crontab -eThe '-e' param stands for edit. This will open the crontab file for the current logged user. If you want to edit the crontab file for a specific user you need to specify the username:
#crontab -e -u usernameTo delete user's crontab use the following command:
#crontab -ror for a specific user:
#crontab -r -u usernameTo list cronjob:
#crontab -lor
#crontab -l -u username
When you edit the crontab file, it will be open in your default editor. If you want to be open in a specific editor you can use the env command:
#env EDITOR=nano crontab -eThis will open the crontab file in nano editor.
No comments:
Post a Comment