Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)
Do I have to restart the cron after changing the crontable file?

1 Answer

0 votes
by (36.8k points)

No.

From the cron man page:

cron will examine the modification time on all the crontabs and reload those which have changed. cron need not be restarted whenever the crontab file is modified

But if you just want to make sure it's done anyway,

sudo service cron reload

or

/etc/init.d/cron reload

Come and join Linux training to gain great knowledge. 

Do check out the video below

Related questions

0 votes
0 answers
0 votes
1 answer
asked Jan 6, 2021 in Linux by blackindya (18.4k points)
0 votes
1 answer
asked Dec 25, 2020 in Linux by blackindya (18.4k points)
0 votes
1 answer
asked Nov 26, 2020 in Linux by blackindya (18.4k points)
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...