anacrontab.5 says:
   The
   .I period_name
   can only be set to monthly at the present time.\&
(note also the weird space at the end) the README says:
       Anacron solves this problem.  These jobs can simply be scheduled as
   Anacron-jobs with periods of 1, 7 and a special target called @monthly.
but readtab.c says:
     if (!strncmp ("@monthly", periods, 7)) {
         jr->named_period = 1;
     } else if (!strncmp("@yearly", periods, 7)) {
         jr->named_period = 2;
     } else {
         complain("%s: Unknown named period on line %d, skipping",
                  anacrontab, line_num);
     }
so the manual is wrong here.

Attaching a patch that mentions @yearly in the manual. I got lost
in the "source forge" bullshit listed as the upstream in d/control
and d/watch, and @monthly seems to come from d/p/debian-changes
anyway (it's tagged as accumulated upstream git but idk due to the
aforementioned), so please forward/squash into d/p/d-c at your
discretion.

Thank you for your contribution. This patch has been applied in debian-changes, and a new version of anacron 2.3-40 has been uploaded. Apparently, @yearly has been available since 2005.

--
Lance Lin
GPG Fingerprint: 4A31 DB5A 1EE4 096C 8739 9880 9036 4929 4C33 F9B7

Attachment: OpenPGP_0x903649294C33F9B7.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to