"how to edit crontab in linux" Code Answer's
You're definitely familiar with the best coding language Shell/Bash that developers use to develop their projects and they get all their queries like "how to edit crontab in linux" answered properly. Developers are finding an appropriate answer about how to edit crontab in linux related to the Shell/Bash coding language. By visiting this online portal developers get answers concerning Shell/Bash codes question like how to edit crontab in linux. Enter your desired code related query in the search bar and get every piece of information about Shell/Bash code related question on how to edit crontab in linux.
change crontab editor
#run command in terminal:
select-editor
#Then select an option:
Select an editor. To change later, run 'select-editor'.
1. /bin/nano <---- easiest
2. /usr/bin/vim.tiny
3. /bin/ed
Choose 1-3 [1]:
Source: www.howtogeek.com
how to edit crontab in linux
Step 1 : crontab -e
Step 2 : Select your prefered editor for the file.
Steo 3 : Add the command that you want to execute from cron and save that file.
Example : 1 0 * * 0 rm /home/jones/*.log > /dev/null 2>&1
Step 4 : check if cron is activate using command
crontab -l
All those coders who are working on the Shell/Bash based application and are stuck on how to edit crontab in linux can get a collection of related answers to their query. Programmers need to enter their query on how to edit crontab in linux related to Shell/Bash code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about how to edit crontab in linux for the programmers working on Shell/Bash code while coding their module. Coders are also allowed to rectify already present answers of how to edit crontab in linux while working on the Shell/Bash language code. Developers can add up suggestions if they deem fit any other answer relating to "how to edit crontab in linux". Visit this developer's friendly online web community, CodeProZone, and get your queries like how to edit crontab in linux resolved professionally and stay updated to the latest Shell/Bash updates.