Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add job to crontab

# To add cronjob
# For no output
echo "* * * * * command >> /dev/null 2>&1" | crontab -
# output to file
echo "* * * * * command >> cron.logs 2>&1" | crontab -
# view crons
crontab -l
# edit crons using editor
crontab -e
# view CRON system logs
grep CRON /var/log/syslog
Comment

PREVIOUS NEXT
Code Example
Shell :: kubectl port forward 
Shell :: Undo the commit and completely remove all changes 
Shell :: run shell script in dockerfile 
Shell :: How to change default user in WSL Ubuntu bash on Windows 10 
Shell :: chokidar npm 
Shell :: git commit current changes to existing branch 
Shell :: slugify npm 
Shell :: git remove folder from repository 
Shell :: calculate float division 
Shell :: apt install slack 
Shell :: depmod: not found 
Shell :: git change comment 
Shell :: git global name & email 
Shell :: git github account change 
Shell :: install typeorm node 
Shell :: git push specific ssh key 
Shell :: how to pull the changes from git without staging local changes 
Shell :: husky install 
Shell :: run redis in background ubuntu 
Shell :: git clone with personal access token command line 
Shell :: install terminator ubuntu 
Shell :: git credential manager linux codegrepper 
Shell :: split command in splunk 
Shell :: git create branch from tag 
Shell :: git revert a specific commit 
Shell :: last login linux 
Shell :: install-nodejs-and-npm 
Shell :: how to merge remote branch 
Shell :: how to config username and email in git 
Shell :: powershell create file content 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =