Will Crontab reload it's configuration just be editing the Crontab file? will the crontab just change After I edit the crontab file or I will have to run some command in order to reload configuration?
Asked
Active
Viewed 1,091 times
0
-
"Will I need to restart the server after saving the cron job in the crontab file before it will start working?" -> "No it'll start working straight away (well, the next possible scheduled time)." – muru Jul 30 '18 at 09:42
-
You need to save the crontab *and* exit the editor. Only then will the crontab be reloaded. – Jos Jul 30 '18 at 09:47
-
If you edit the crontab file with `crontab -e` .. yes. – Soren A Jul 30 '18 at 10:16
1 Answers
0
Yes it will, nothing else to do, just edit the crontab file and save it, it takes effect immediately.
redseven
- 642
- 1
- 7
- 12