Contents
The crontab file will be placed in /var/spool/cron/crontabs . Verify the crontab file by using the crontab -l command.
How do I open a crontab file in Linux?
Opening Crontab
First, open a terminal window from your Linux desktop’s applications menu. You can click the Dash icon, type Terminal and press Enter to open one if you’re using Ubuntu. Use the crontab -e command to open your user account’s crontab file. Commands in this file run with your user account’s permissions.
How do I edit a crontab file in Linux?
You do not need to become superuser to edit your own crontab file.
- Create a new crontab file, or edit an existing file. $ crontab -e [ username ] …
- Add command lines to the crontab file. Follow the syntax described in Syntax of crontab File Entries. …
- Verify your crontab file changes. # crontab -l [ username ]