The biggest difference between runwhen and other schedulers is that
runwhen doesn't have a single daemon overseeing multiple jobs.
The runwhen tools essentially act as a glorified sleep command.
Perhaps runwhen does nothing that at(1) doesn't, and there are
lots of things at(1) does that runwhen doesn't:
- runwhen doesn't change user IDs - thus it will never run
anything as the wrong user.
- It doesn't keep a central daemon running at all times -
thus it won't break if that daemon dies.
- It doesn't require any modifications to the system boot procedure.
- It doesn't log through syslog(3) - thus it won't make a mess
on the console if syslogd(1) isn't running.
- It doesn't centralize storage of scheduled jobs (or any other
per-job information) - thus unprivileged users can install and use it
without cooperation from root, and without the use of a setuid program
to handle changes.
- It doesn't send output through mail - thus it doesn't break
if there is no mail system installed.
- It doesn't check access control files - thus it doesn't gratuitously
deny users.
sysutils/runwhen: Patch compatibility with skalibs 2.14.5.1
The exec0() function has been replaced by a macro. If the <skalibs/exec.h>
header isn't included the old *exec*() function names become missing symbols.
PR: 293916
sysutils/runwhen: Add skalibs-2.14 support
Patch skalibs-2.14 support into runwhen-2021.04.30:
- Skalibs no longer pollutes the namespace with uint64 (without _t).
- Patch runwhen to use uint64_t instead of uint64.
- Update dependency to devel/skalibs>=2.14.1.1
- Bump port revision.
No functional change intended.
PR: 279116
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/runwhen: Unbreak build
Build despite the skalibs_t typedef removal.
Add support for the latest skalibs release.
Submitter steps up to maintain the port. Already maintainer of several ports.
PR: 265759
Reported by: crest@rlwinm.de
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above )
sysutils/runwhen: Add support for skalibs 2.9.2.1
Five years after its latest release runwhen 2015.02.24 is no longer compatible
the latest skalibs version (2.9.2.1 from 16 days ago).
The attached patch allows the old runwhen code to build against the latest
skalibs version.
It converts the enum values in rw-match.c from lower to upper case to avoid a
name collision on "div", deals with the renaming of tainnow.lib to to
sysclock.lib and replaces a call to the deprecated env_get() function with
getenv(). This gets rid of all compiler warnings and errors.
PR: 245836
Submitted by: crest@rlwinm.de
Make libskarnet.so a runtime dependency.
Before this change, "pkg autoremove" would remove devel/skalibs and render
runwhen unsuable.
Approved by: mentors (implicit)
Unbreak by upgrading from 2003 to 2015. Do not install the useless
"doc" files. The list of files is so small now, a separate pkg-plist
can be replaced with a PLIST_FILES-variable.
Notified by: portscout
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
Add runwhen 2003.10.31, tools for running commands at particular times.
The biggest difference between runwhen and other schedulers is that
runwhen doesn't have a single daemon overseeing multiple jobs.
The runwhen tools essentially act as a glorified sleep command.
Perhaps runwhen does nothing that at(1) doesn't, and there are
lots of things at(1) does that runwhen doesn't:
- runwhen doesn't change user IDs - thus it will never run
anything as the wrong user.
- It doesn't keep a central daemon running at all times -
thus it won't break if that daemon dies.
- It doesn't require any modifications to the system boot procedure.
- It doesn't log through syslog(3) - thus it won't make a mess
on the console if syslogd(1) isn't running.
(Only the first 15 lines of the commit message are shown above )