Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Linux: cron jobs
(view source)
Revision as of 21:28, 2 March 2018
40 bytes added
,
21:28, 2 March 2018
→Schedule a job every 5 minutes
Line 23:
Line 23:
$ crontab -u otherusername -e → Edit other user crontab
$ crontab -u otherusername -e → Edit other user crontab
−
=== Schedule a job every
5
minutes ===
+
=== Schedule a job every
X
minutes ===
−
*/5 * * * * /home/ramesh/backup.sh
+
*/5 * * * * /home/ramesh/backup.sh
# Every 5 minutes
−
*/10 * * * * /home/ramesh/backup.sh
+
*/10 * * * * /home/ramesh/backup.sh
# Every 10 minutes
=== Schedule a job for a specific day ===
=== Schedule a job for a specific day ===
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version