Cronjob deleted but cron still sends email
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I have in /etc/crontab
a job defined like this:
0,10,20,30,40,50 * * * * root /usr/lib/cgi-bin/awstats.pl -config=example.com -update
I deleted this job but cron sends me still emails every ten minutes.
How can I stop these emails?
Thanks a lot
cron
New contributor
add a comment |Â
up vote
2
down vote
favorite
I have in /etc/crontab
a job defined like this:
0,10,20,30,40,50 * * * * root /usr/lib/cgi-bin/awstats.pl -config=example.com -update
I deleted this job but cron sends me still emails every ten minutes.
How can I stop these emails?
Thanks a lot
cron
New contributor
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have in /etc/crontab
a job defined like this:
0,10,20,30,40,50 * * * * root /usr/lib/cgi-bin/awstats.pl -config=example.com -update
I deleted this job but cron sends me still emails every ten minutes.
How can I stop these emails?
Thanks a lot
cron
New contributor
I have in /etc/crontab
a job defined like this:
0,10,20,30,40,50 * * * * root /usr/lib/cgi-bin/awstats.pl -config=example.com -update
I deleted this job but cron sends me still emails every ten minutes.
How can I stop these emails?
Thanks a lot
cron
cron
New contributor
New contributor
edited 4 mins ago
New contributor
asked 43 mins ago
wolf
113
113
New contributor
New contributor
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
It may be worth restarting the cron service for the changes to take effect. Since you have not specified which distribution you are using, there are a few different commands you can try in the terminal.
Load up your terminal and try one of these commands:
sudo service cron restart
sudo systemctl restart cron
sudo systemctl restart crond.service
Isn't working my distribution is Raspbian 9 stretch
â wolf
26 mins ago
@wolf did the command(s) run?
â Jeff
25 mins ago
1
If the above commands did not work, can you try/etc/init.d/crond restart
or/etc/init.d/cron restart
?
â ipkpjersi
24 mins ago
1
man cron
says that restarting the service is not needed :` Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on the /etc/crontab file) has changed, and if it has, cron will then examine the modtime on all crontabs files and reload those which have changed. Thus cron need not be restarted whenâ ever a crontab file is modified.
â mook765
21 mins ago
The commandsudo service cron restart
did work but it remains the same. Still an email every ten minutes.
â wolf
8 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
It may be worth restarting the cron service for the changes to take effect. Since you have not specified which distribution you are using, there are a few different commands you can try in the terminal.
Load up your terminal and try one of these commands:
sudo service cron restart
sudo systemctl restart cron
sudo systemctl restart crond.service
Isn't working my distribution is Raspbian 9 stretch
â wolf
26 mins ago
@wolf did the command(s) run?
â Jeff
25 mins ago
1
If the above commands did not work, can you try/etc/init.d/crond restart
or/etc/init.d/cron restart
?
â ipkpjersi
24 mins ago
1
man cron
says that restarting the service is not needed :` Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on the /etc/crontab file) has changed, and if it has, cron will then examine the modtime on all crontabs files and reload those which have changed. Thus cron need not be restarted whenâ ever a crontab file is modified.
â mook765
21 mins ago
The commandsudo service cron restart
did work but it remains the same. Still an email every ten minutes.
â wolf
8 mins ago
add a comment |Â
up vote
3
down vote
It may be worth restarting the cron service for the changes to take effect. Since you have not specified which distribution you are using, there are a few different commands you can try in the terminal.
Load up your terminal and try one of these commands:
sudo service cron restart
sudo systemctl restart cron
sudo systemctl restart crond.service
Isn't working my distribution is Raspbian 9 stretch
â wolf
26 mins ago
@wolf did the command(s) run?
â Jeff
25 mins ago
1
If the above commands did not work, can you try/etc/init.d/crond restart
or/etc/init.d/cron restart
?
â ipkpjersi
24 mins ago
1
man cron
says that restarting the service is not needed :` Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on the /etc/crontab file) has changed, and if it has, cron will then examine the modtime on all crontabs files and reload those which have changed. Thus cron need not be restarted whenâ ever a crontab file is modified.
â mook765
21 mins ago
The commandsudo service cron restart
did work but it remains the same. Still an email every ten minutes.
â wolf
8 mins ago
add a comment |Â
up vote
3
down vote
up vote
3
down vote
It may be worth restarting the cron service for the changes to take effect. Since you have not specified which distribution you are using, there are a few different commands you can try in the terminal.
Load up your terminal and try one of these commands:
sudo service cron restart
sudo systemctl restart cron
sudo systemctl restart crond.service
It may be worth restarting the cron service for the changes to take effect. Since you have not specified which distribution you are using, there are a few different commands you can try in the terminal.
Load up your terminal and try one of these commands:
sudo service cron restart
sudo systemctl restart cron
sudo systemctl restart crond.service
edited 24 mins ago
answered 38 mins ago
ipkpjersi
1315
1315
Isn't working my distribution is Raspbian 9 stretch
â wolf
26 mins ago
@wolf did the command(s) run?
â Jeff
25 mins ago
1
If the above commands did not work, can you try/etc/init.d/crond restart
or/etc/init.d/cron restart
?
â ipkpjersi
24 mins ago
1
man cron
says that restarting the service is not needed :` Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on the /etc/crontab file) has changed, and if it has, cron will then examine the modtime on all crontabs files and reload those which have changed. Thus cron need not be restarted whenâ ever a crontab file is modified.
â mook765
21 mins ago
The commandsudo service cron restart
did work but it remains the same. Still an email every ten minutes.
â wolf
8 mins ago
add a comment |Â
Isn't working my distribution is Raspbian 9 stretch
â wolf
26 mins ago
@wolf did the command(s) run?
â Jeff
25 mins ago
1
If the above commands did not work, can you try/etc/init.d/crond restart
or/etc/init.d/cron restart
?
â ipkpjersi
24 mins ago
1
man cron
says that restarting the service is not needed :` Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on the /etc/crontab file) has changed, and if it has, cron will then examine the modtime on all crontabs files and reload those which have changed. Thus cron need not be restarted whenâ ever a crontab file is modified.
â mook765
21 mins ago
The commandsudo service cron restart
did work but it remains the same. Still an email every ten minutes.
â wolf
8 mins ago
Isn't working my distribution is Raspbian 9 stretch
â wolf
26 mins ago
Isn't working my distribution is Raspbian 9 stretch
â wolf
26 mins ago
@wolf did the command(s) run?
â Jeff
25 mins ago
@wolf did the command(s) run?
â Jeff
25 mins ago
1
1
If the above commands did not work, can you try
/etc/init.d/crond restart
or /etc/init.d/cron restart
?â ipkpjersi
24 mins ago
If the above commands did not work, can you try
/etc/init.d/crond restart
or /etc/init.d/cron restart
?â ipkpjersi
24 mins ago
1
1
man cron
says that restarting the service is not needed :` Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on the /etc/crontab file) has changed, and if it has, cron will then examine the modtime on all crontabs files and reload those which have changed. Thus cron need not be restarted whenâ ever a crontab file is modified.â mook765
21 mins ago
man cron
says that restarting the service is not needed :` Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on the /etc/crontab file) has changed, and if it has, cron will then examine the modtime on all crontabs files and reload those which have changed. Thus cron need not be restarted whenâ ever a crontab file is modified.â mook765
21 mins ago
The command
sudo service cron restart
did work but it remains the same. Still an email every ten minutes.â wolf
8 mins ago
The command
sudo service cron restart
did work but it remains the same. Still an email every ten minutes.â wolf
8 mins ago
add a comment |Â
wolf is a new contributor. Be nice, and check out our Code of Conduct.
wolf is a new contributor. Be nice, and check out our Code of Conduct.
wolf is a new contributor. Be nice, and check out our Code of Conduct.
wolf is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1076689%2fcronjob-deleted-but-cron-still-sends-email%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password