How to Add Rows to Ubuntu CronTab
How to Add Rows to Ubuntu CronTab
For example ;
To restart nginx service every 5 minutes:
crontab -I | {cat; echo ''/5 * * * * systemctl restart nginx''; } | crontab -
To add crontab script to mehmet user:
crontab -u mehmet -I | {cat; echo ''/5 * * * * systemctl restart nginx''; } | crontab -u mehmet -
Can't find the information you're looking for?
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket-
How to Open Ports in Windows?
532 2
-
How to Grant Windows Administrator Privileges?
400 0
-
How to install Webmin on Ubuntu?
1047 2
-
Linux SSH Terminal Commands and Explanations
1020 3
-
CentOS Stream 10 Update Commands
1081 1
-
CentOS Stream 9 Update Commands
1644 2
-
CentOS Stream 8 Update Commands
846 0
-
What is FreeBSD?
1019 2
-
Out: 452 4.3.1 Insufficient system storage
947 2
-
Turning Off Automatic Updates in Windows Operating Systems
1086 1