Hello Marianne,

`man 5 crontab` does provide the required information, when I use the
last release available in trixie (3.0pl1-188):

----------------------8<----------------------------------
$ man 5 crontab| grep -B2 -A7 @reboot
              string         meaning
              ------         -------
              @reboot        Run once, at startup.
              @yearly        Run once a year, "0 0 1 1 *".
              @annually      (same as @yearly)
              @monthly       Run once a month, "0 0 1 * *".
              @weekly        Run once a week, "0 0 * * 0".
              @daily         Run once a day, "0 0 * * *".
              @midnight      (same as @daily)
              @hourly        Run once an hour, "0 * * * *".

       Please  note  that startup, as far as @reboot is concerned, is the time
       when the cron(8) daemon startup.  In particular, it may be before  some
       system  daemons, or other facilities, were startup.  This is due to the
       boot order sequence of the machine.

EXAMPLE CRON FILE
       # use /usr/bin/sh to run commands, no matter what /etc/passwd says
       SHELL=/usr/bin/sh
----------------------8<----------------------------------

So, this bug is currently fixed, I shall close the bug report, please
feel free to reopen it when necessary.

By the way: all modification made to Vixie's cron are living under the
directory debian/patches; if you want to have a look at the current
state of the sources, please apply the debian patches.

Best regards,                   Georges.


Marianne CHEVROT CHEVALLIER a écrit :
> Package: cron
> Version: 3.0pl1-162
> Severity: normal
> 
> Dear Maintainer,
> 
> * What led up to the situation?
> 
> I wanted to check the documentation about the @reboot and remark it's
> missing
> from the manual page.
> 
> * What exactly did you do (or not do) that was effective (or ineffective)?
> 
> I checked on the debian repo https://salsa.debian.org/debian/cron master
> branch and confirmed there was no documentation for that on crontab.5 file.
> 
> * What was the outcome of this action?
> 
> I couldn't check usage and available option for crontab.
> 
> * What outcome did you expect instead?
> 
> To have the documentation about these features.
> 
> 
> -- Package-specific info:
> --- EDITOR:
> not set
> 
> --- /usr/bin/editor:
> /usr/bin/vim.gtk3
> 
> --- /usr/bin/crontab:
> -rwxr-sr-x 1 root crontab 43648 Mar 2 2023 /usr/bin/crontab
> 
> --- /var/spool/cron:
> drwxr-xr-x 3 root root 4096 Dec 24 2017 /var/spool/cron
> 
> --- /var/spool/cron/crontabs:
> drwx-wx--T 2 root crontab 4096 Feb 12 2023 /var/spool/cron/crontabs
> 
> --- /etc/cron.d:
> drwxr-xr-x 2 root root 4096 Aug 26 2023 /etc/cron.d
> 
> --- /etc/cron.daily:
> drwxr-xr-x 2 root root 4096 Feb 4 11:40 /etc/cron.daily
> 
> --- /etc/cron.hourly:
> drwxr-xr-x 2 root root 4096 Jun 16 2023 /etc/cron.hourly
> 
> --- /etc/cron.monthly:
> drwxr-xr-x 2 root root 4096 Jun 16 2023 /etc/cron.monthly
> 
> --- /etc/cron.weekly:
> drwxr-xr-x 2 root root 4096 Jun 16 2023 /etc/cron.weekly
> 
> 
> -- System Information:
> Debian Release: 12.5
> APT prefers stable-updates
> APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
> 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 6.1.0-18-amd64 (SMP w/4 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not
> set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages cron depends on:
> ii cron-daemon-common 3.0pl1-162
> ii init-system-helpers 1.65.2
> ii libc6 2.36-9+deb12u4
> ii libpam-runtime 1.5.2-6+deb12u1
> ii libpam0g 1.5.2-6+deb12u1
> ii libselinux1 3.4-1+b6
> ii sensible-utils 0.0.17+nmu1
> 
> Versions of packages cron recommends:
> pn default-mta | mail-transport-agent <none>
> 
> Versions of packages cron suggests:
> ii anacron 2.3-36
> pn checksecurity <none>
> ii logrotate 3.21.0-1
> 
> Versions of packages cron is related to:
> pn libnss-ldap <none>
> pn libnss-ldapd <none>
> pn libpam-ldap <none>
> pn libpam-mount <none>
> pn nis <none>
> pn nscd <none>
> 
> -- no debconf information
> 
> 

-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70

Attachment: signature.asc
Description: PGP signature

Reply via email to