Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275393

Re: Restarting cron after crontab update

From Michael Kjörling <c9bc136c6063@ewoof.net>
Newsgroups linux.debian.user
Subject Re: Restarting cron after crontab update
Date 2024-12-08 12:10 +0100
Message-ID <JRnkJ-eGZz-5@gated-at.bofh.it> (permalink)
References <JRmI1-eG9R-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 8 Dec 2024 11:19 +0100, from debian@rogerprice.org (Roger Price):
> What is the correct way to get cron to read the new crontab ?

Saving the crontab file.

It should be re-read automatically, with no need to restart a
system-level service.

Either you also did something else which you do not mention; or you
introduced an error in /etc/crontab as you edited it.

Note that the generally recommended way is to add a file in
/etc/cron.d instead of editing /etc/crontab. Doing so reduces the risk
of conflicts later.

-- 
Michael Kjörling
🔗 https://michael.kjorling.se

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Restarting cron after crontab update Roger Price <debian@rogerprice.org> - 2024-12-08 11:30 +0100
  Re: Restarting cron after crontab update Michael Kjörling <c9bc136c6063@ewoof.net> - 2024-12-08 12:10 +0100
  Re: Restarting cron after crontab update debian-user@howorth.org.uk - 2024-12-08 13:30 +0100
    Re: Restarting cron after crontab update Roger Price <debian@rogerprice.org> - 2024-12-08 14:20 +0100
      Re: Restarting cron after crontab update Greg Wooledge <greg@wooledge.org> - 2024-12-08 15:20 +0100
        Re: Restarting cron after crontab update Roger Price <roger@rogerprice.org> - 2024-12-09 15:50 +0100
          Re: Restarting cron after crontab update <tomas@tuxteam.de> - 2024-12-09 16:00 +0100
            Re: Restarting cron after crontab update Greg Wooledge <greg@wooledge.org> - 2024-12-09 16:40 +0100
              Re: Restarting cron after crontab update Roger Price <debian@rogerprice.org> - 2024-12-09 17:50 +0100
              User "nut" (Was Re: Restarting cron after crontab update) Roger Price <debian@rogerprice.org> - 2024-12-09 18:00 +0100
              Re: Restarting cron after crontab update Darac Marjal <lists-debian-user@bendel.debian.org> - 2024-12-09 18:10 +0100
                Re: Restarting cron after crontab update Greg Wooledge <greg@wooledge.org> - 2024-12-09 19:50 +0100
            Re: Restarting cron after crontab update Greg Wooledge <greg@wooledge.org> - 2024-12-09 16:40 +0100
              Re: Restarting cron after crontab update Charles Curley <charlescurley@charlescurley.com> - 2024-12-09 18:00 +0100
            Re: Restarting cron after crontab update Charles Curley <charlescurley@charlescurley.com> - 2024-12-09 16:40 +0100

csiph-web