| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
* src/mcron/scripts/mcron.scm: modified string literal
|
| |
|
|
|
|
| |
* configure.ac: Remove unecessary PKG_CHECK_MODULES invocation.
|
|
|
|
|
|
|
|
| |
This ensures that the absence of 'pkg-config' or 'guile' M4 macros
expansion do not pass the bootstrap step.
* configure.ac: Allow or forbid some M4 macros patterns in the generated
'configure' script.
|
|
|
|
|
|
|
|
|
|
| |
This prevents installed modules to interfere with the ones from the
build directory.
* src/cron.in: Augment Guile load paths with install directories only
when MCRON_UNINSTALLED environment variable is not set.
* src/crontab.in: Likewise.
* src/mcron.in: Likewise.
|
|
|
|
|
|
| |
This allows 'make distcheck' to succeed.
* Makefile.am (EXTRA_DIST): Add script source files.
|
|
|
|
|
|
|
| |
This fixes the generation of scripts when "bin" directory does not
exist.
* Makefile.am (bin/%): Invoke $(MKDIR_P) first.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch gets rid of the thin veneer that we currently have around the three
executables. This was done for historical reasons (circa 2003 Guile couldnʼt
deal with process signals and forks). In fact these problems were fixed many
moons ago, and there is now no need for it. The project becomes 100% Guile!
Many files are affected; interested coders should use the GIT repository to
understand the details of all the changes.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The option is supposed to be able to take an optional argument, but if the
argument is not supplied (should default to 8) then the test, rather than
failing, is skipped with a friendly message in the log file. The proper fix
will come with an upstream patch to GNU Guile, and a future version of Mcron.
* tests/schedule-2.sh: new test, new file
* Makefile.am: make sure to run the new test file
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously were looking for files listed on the command line in
Guile's modules directory. This is a bug-fix; running
'make check' will reveal one less failure than before.
* src/mcron/scripts/mcron.scm (process-user-file): use read and eval
instead of load.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The mcron program goes looking for files specified on the command
line in Guile's module path, inevitably resulting in failure to load
said file. Running 'make check' will show at least one failure.
* tests/basic.sh: Added new test.
|
| |
| |
| |
| |
| |
| | |
Replace his/hers with theirs, etc.
*doc/mcron.text: light edits only.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some of the date tests depend both on the particular time of day and year at
which the test is run, and also on the state of daylight-savings adjustments.
(At the present time on my system there are four failing tests, but YMMV.)
This patch puts all the tests to UTC time in the C locale, making the results
consistent. *All* items in the test suite should be passing once again.
* tests/job-schedule.scm: Fix up the environment before running the tests.
|
|/ |
|
| |
|
| |
|
|
|
|
| |
* src/mcron/utils.scm (show-version): Update copyright year.
|
|
|
|
|
|
|
|
| |
'call-with-current-continuation' is overkill and not quite what we
want. 'let/ec' is supported in Guile 2.0, 2.2, and 3.0.
* src/mcron/base.scm (run-job-loop): Use 'let/ec' instead of
'call-with-current-continuation'.
|
|
|
|
|
|
|
|
| |
Previously, on Guile >= 2.2, we'd lose this opportunity to call
'child-cleanup', possibly leaving zombies behind us.
* src/mcron/base.scm (run-job-loop): Define 'select*'. Don't expect
'select*' to throw upon EINTR or EAGAIN.
|
|
|
|
| |
* configure.ac: Add "3.0" to 'GUILE_PKG'.
|
|
|
|
|
|
|
|
| |
<libguile.h> in Guile 2.x used to include these, but this is no longer
the case with 3.0.
* src/cron.c, src/mcron.h: Include <string.h>.
* src/utils.c: Include <stdio.h>.
|
| |
|
|
|
|
| |
* AUTHORS: Add Efraim Flashner.
|
|
|
|
|
|
|
|
|
| |
* build-aux/guix.scm: Inherit from mcron.
<arguments>: Remove extra 'bootstrap phase.
<inputs>: Build with guile@2.2.
<native-inputs>: Add tzdata for tests.
Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
|
|
|
|
|
|
| |
* doc/mcron.texi (Every second Sunday): If the first day of the month is
Sunday, then the second Sunday of the month is seven days later not
eight.
|
| |
|
|
|
|
| |
* NEWS: Record release date.
|
|
|
|
| |
* AUTHORS: Add 宋文武.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows users to configure the Mail Transfert Agent (MTA) of their
choice.
* configure.ac: Add '--with-sendmail' option.
(SENDMAIL): Default to 'sendmail -t'.
* NEWS: Announce it.
* src/mcron/redirect.scm (with-mail-out): Assume the MTA is reading the
message for recipients.
* build-aux/guix.scm: Remove 'which' from the native-inputs.
|
|
|
|
|
| |
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
|
|
|
|
| |
* NEWS: Record release date.
|
|
|
|
|
|
|
| |
* maint.mk (gpg_key_ID, gnu_rel_host, noteworthy_changes)
(gnu_ftp_host-alpha, gnu_ftp_host-beta)
(gnu_ftp_host-stable): New macros.
(release, upload, web-manual, web-manual-update): New rules.
|
|
|
|
|
|
| |
* README: Do not include the version number. Refer to "HACKING" when
"INSTALL" is not available. Tell about the "--disable-multi-user"
configure option.
|
|
|
|
| |
* NEWS: Update.
|
|
|
|
|
| |
* src/mcron/vixie-time.scm (parse-vixie-time): Use 'match' to avoid
complex 'car' and 'cdr' usage.
|
|
|
|
|
| |
* src/mcron/vixie-time.scm (interpolate-weekdays): Avoid mutation and
add 'range-wday' inner procedure.
|
|
|
|
|
| |
* tests/vixie-time.scm: New test.
* Makefile.am (TESTS): Add it.
|
|
|
|
|
|
|
| |
This is a follow up to commit ae6deb8ea23570c02a7b575a53bba37048aab59f.
* src/mcron/vixie-time.scm (increment-time-component): Check if
'%find-best-next' returns '+inf.0' not 9999.
|
|
|
|
|
| |
* tests/utils.scm ("show-package-information")
("show-version"): New tests.
|
|
|
|
|
|
|
|
| |
It seems that it is not useful to catch 'misc-error exception when
calling 'getopt-long'. Since 'parse-args' purpose was only to catch
this particular error, it can be deleted.
* src/mcron/utils.scm (parse-args): Remove.
|
|
|
|
|
|
|
|
| |
* tests/job-specifier.scm ("job: procedure timeproc")
("job: list timeproc", "job: string timeproc", "job: list action")
("job: invalid string timeproc", "job: invalid timeproc")
("job: procedure action", "job: string action")
("job: user name"): New tests.
|
|
|
|
|
|
|
|
|
|
|
| |
* src/mcron/job-specifier.scm (configuration-user): Box it using
SRFI-111 to be explicit about the mutability of this object.
(job): Adapt.
(set-configuration-user): Adapt and use 'get-user'.
* tests/job-specifier.scm ("set-configuration-user: passwd entry")
("set-configuration-user: invalid uid", "set-configuration-user: uid")
("set-configuration-user: invalid spec")
("set-configuration-user: name"): New tests.
|
|
|
|
|
|
| |
* tests/job-specifier.scm ("next-year", "next-month", "next-day")
("next-hour", "next-minute", "next-second"): New tests.
("next-hour-from"): Remove.
|
|
|
|
| |
* src/mcron/job-specifier.scm (%find-best-next): Fix typo.
|