Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

crontab in linux

crontab -e						

10 * * * * /bin/sh test.sh    # every hour at 10"
0 */4 * * * /bin/sh test.sh   # every 4 hours at 0"
0 9-17 * * * /bin/sh test.sh  # every hour at 0" between 9 and 17
0 2 * * * /bin/sh test.sh     # daily at 2am
0 0 * * MON /bin/sh test.sh   # every Monday at 0am
0 0 * * 1-5 /bin/sh test.sh   # daily from Monday to Friday at 0am
0 0 * * 0 /bin/sh test.sh     # weekly on Sunday
0 0 1 * * /bin/sh test.sh     # monthly (1rst day at 0am)
0 0 1 */3 * /bin/sh test.sh   # every quarter (1st day at 0am)
0 0 1 1 * /bin/sh test.sh     # yearly (01/01)
Comment

install crontab in linux

wget https://pypi.python.org/packages/47/c2/d048cbe358acd693b3ee4b330f79d836fb33b716bfaf888f764ee60aee65/crontab-0.20.tar.gz
Comment

PREVIOUS NEXT
Code Example
Shell :: git rebase head 
Shell :: terminal show running processes tree mac os 
Shell :: how to setup path using git bash in windows 
Shell :: display settings ubuntu 20.04 in right side 
Shell :: node version manager 
Shell :: uname -r command 
Shell :: exit branch git 
Shell :: docker file entrypoint script shell 
Shell :: how to make a file executable in linux 
Shell :: echo to add line to file 
Shell :: ubuntu navigate to directory in windows 
Shell :: pip for pyhton 3.8 
Shell :: conda install minio 
Shell :: git revert remote branch 
Shell :: docker run 
Shell :: kivy install ubuntu 
Shell :: what is group in linux? 
Shell :: W: GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures were invalid: KEYEXPIRED 1622248854 
Shell :: linux while one line command 
Shell :: adb restart application 
Shell :: bitbucket rename remote tag 
Shell :: appium inspector is getting 304 error 
Shell :: bash read full file 
Shell :: -f in shell script 
Shell :: git checkout specific file types only 
Shell :: shell if "-z" 
Shell :: launch bash script at startup linux 
Shell :: The process cannot access the file because it is being used by another process. Press any key to continue... 
Shell :: how to take two ip addresses and perform arithemetic bash 
Shell :: download onenote on fedora 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =