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#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]:
Also in C++:
- display docker networks
- change mode in linux
- install paho mqtt client raspberry pi
- get current timestamp shell
- -bash: jupyter: command not found linux
- ionic capacitor ios live reload
- conda install pytorch
- verificaçao ficheiro linux bash
- get log from a docker machine
- how to remove a git remote origin
- yarn
- how to open directory in linux using command
- powershell delete columns in multiple csv files
- shell logical and for file existence
- linux command to view file
- terminal show running processes tree mac os
- install yacc on ubuntu
- how to change mac address kali linux
- bash array
- flutter install in window
- powershell replace and rename file name
- create zip file terminal linux
- how to upgrade node.js
- remove docker container