Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #256818
| From | Alexis Grigoriou <alexis@nanoid.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: questions about cron.daily |
| Date | 2023-04-06 20:30 +0200 |
| Message-ID | <GhCwV-dTi-5@gated-at.bofh.it> (permalink) |
| References | <GhAY9-cRA-7@gated-at.bofh.it> <GhBhv-ddF-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 2023-04-06 at 19:05 +0200, Thomas Schmitt wrote:
> Hi,
>
>
> Pierre Frenkiel wrote:
> > crontab -l
>
> Plus:
> man 5 crontab
> which has in its section "EXAMPLE CRON FILE"
>
> # run five minutes after midnight, every day
> 5 0 * * * $HOME/bin/daily.job >> $HOME/tmp/out 2>&1
>
> and explains further up
>
> The format of a cron command is very much the V7 standard,
> with a num‐
> ber of upward-compatible extensions. Each line has five time
> and date
> fields, followed by a command, followed by a newline character
> ('\n').
> ...
> field allowed values
> ----- --------------
> minute 0-59
> hour 0-23
> day of month 1-31
> month 1-12 (or names, see below)
> day of week 0-7 (0 or 7 is Sun, or use names)
>
> So the command shown by Greg Wooledge runs at 6:25 am the comand
>
> test -x /usr/sbin/anacron || ( cd / && run-parts --report
> /etc/cron.daily )
>
> which runs the programs in /etc/cron.daily (by run-parts(8)) if not
> /usr/sbin/anacron exists and is executable.
>
https://crontab.guru has a very nice explaining also.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
questions about cron.daily coreyh@free.fr - 2023-04-06 13:40 +0200
Re: questions about cron.daily Greg Wooledge <greg@wooledge.org> - 2023-04-06 13:50 +0200
Re: questions about cron.daily Andy Smith <andy@strugglers.net> - 2023-04-06 17:40 +0200
Re: questions about cron.daily Fred <fred@blakemfg.com> - 2023-04-06 18:40 +0200
Re: questions about cron.daily Pierre Frenkiel <frenkiel@gmail.com> - 2023-04-06 18:50 +0200
Re: questions about cron.daily "Thomas Schmitt" <scdbackup@gmx.net> - 2023-04-06 19:10 +0200
Re: questions about cron.daily Alexis Grigoriou <alexis@nanoid.net> - 2023-04-06 20:30 +0200
Re: questions about cron.daily Fred <fred@blakemfg.com> - 2023-04-06 21:30 +0200
Re: questions about cron.daily David Wright <deblis@lionunicorn.co.uk> - 2023-04-07 00:50 +0200
Re: questions about cron.daily Greg Wooledge <greg@wooledge.org> - 2023-04-07 01:00 +0200
Re: questions about cron.daily <tomas@tuxteam.de> - 2023-04-07 07:10 +0200
Re: questions about cron.daily Alex King <alex@rimuhosting.com> - 2023-04-08 02:20 +0200
Re: questions about cron.daily "Andrew M.A. Cater" <amacater@einval.com> - 2023-04-08 11:10 +0200
Re: questions about cron.daily Michel Verdier <mv524@free.fr> - 2023-04-08 11:20 +0200
Re: questions about cron.daily Greg Wooledge <greg@wooledge.org> - 2023-04-08 14:40 +0200
Re: questions about cron.daily Max Nikulin <manikulin@gmail.com> - 2023-04-08 17:20 +0200
Re: questions about cron.daily Kushal Kumaran <kushal@locationd.net> - 2023-04-08 17:20 +0200
Re: questions about cron.daily Max Nikulin <manikulin@gmail.com> - 2023-04-08 19:00 +0200
Re: questions about cron.daily Michel Verdier <mv524@free.fr> - 2023-04-09 10:00 +0200
Re: questions about cron.daily Max Nikulin <manikulin@gmail.com> - 2023-04-11 11:20 +0200
Re: questions about cron.daily Michel Verdier <mv524@free.fr> - 2023-04-09 10:00 +0200
Re: questions about cron.daily Richard Hector <richard@walnut.gen.nz> - 2023-04-07 18:00 +0200
Re: questions about cron.daily Anssi Saari <as@sci.fi> - 2023-04-07 18:00 +0200
Re: questions about cron.daily Cindy Sue Causey <butterflybytes@gmail.com> - 2023-04-07 23:50 +0200
Re: questions about cron.daily David Wright <deblis@lionunicorn.co.uk> - 2023-04-09 18:10 +0200
Re: questions about cron.daily zithro <slack@rabbit.lu> - 2023-04-09 21:50 +0200
Re: questions about cron.daily David Wright <deblis@lionunicorn.co.uk> - 2023-04-10 03:30 +0200
Re: questions about cron.daily davidson <davidson@freevolt.org> - 2023-04-10 04:30 +0200
Re: questions about cron.daily Michel Verdier <mv524@free.fr> - 2023-04-10 08:40 +0200
Re: questions about cron.daily David Wright <deblis@lionunicorn.co.uk> - 2023-04-11 05:50 +0200
Re: questions about cron.daily zithro <slack@rabbit.lu> - 2023-04-10 17:50 +0200
Re: questions about cron.daily David Wright <deblis@lionunicorn.co.uk> - 2023-04-11 05:50 +0200
Re: questions about cron.daily Tom Furie <tom@furie.org.uk> - 2023-04-06 19:00 +0200
Re: questions about cron.daily Michel Verdier <mv524@free.fr> - 2023-04-06 19:10 +0200
Re: questions about cron.daily Greg Wooledge <greg@wooledge.org> - 2023-04-06 19:50 +0200
Re: questions about cron.daily Stefan Monnier <monnier@iro.umontreal.ca> - 2023-04-06 19:50 +0200
Re: questions about cron.daily davidson <davidson@freevolt.org> - 2023-04-06 23:30 +0200
Re: questions about cron.daily ken@openmbox.net - 2023-04-07 02:20 +0200
Re: questions about cron.daily Tom Furie <tom@furie.org.uk> - 2023-04-07 02:30 +0200
Re: questions about cron.daily Dan Ritter <dsr@randomstring.org> - 2023-04-07 03:50 +0200
csiph-web