slackbuilds/system/fcron
Richard Narron 8b88cf6987
system/fcron: Remove FCRON_UID and FCRON_GID.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2016-08-03 06:59:28 +07:00
..
README system/fcron: Fix README and doinstall.sh. 2015-01-11 07:13:21 +07:00
doinst.sh system/fcron: Fix README and doinstall.sh. 2015-01-11 07:13:21 +07:00
fcron.SlackBuild system/fcron: Remove FCRON_UID and FCRON_GID. 2016-08-03 06:59:28 +07:00
fcron.info system/fcron: Updated for version 3.2.1. 2016-07-25 04:29:15 +07:00
rc.fcron system/fcron: Added (periodical command scheduler). 2014-08-07 13:08:46 +07:00
sample-root-fcrontab.txt system/fcron: Added sample. 2014-08-15 23:21:21 +07:00
slack-desc Multiple: Fix slack-desc. 2016-01-20 02:27:21 +07:00

README

Fcron is a periodical command scheduler which aims at replacing 
Vixie Cron and Anacron.

Fcron works well on systems that are not continuously running such
as laptops or desktops and it is loaded with features.

When a machine is powered on, Fcron can start jobs that were
skipped while the machine was powered off.

Installation notes:
-------------------
Group fcron and user fcron must exist before installation.
So as root do this:
  groupadd -g 289  fcron
  useradd  -u 289 -g fcron -d /var/spool/fcron -M -s /bin/false fcron

Post Installation notes:
------------------------
The Fcron installation creates a startup file called /etc/rc.d/rc.fcron

To run this startup file automatically at system startup time,
add an entry to the /etc/rc.d/rc.local file:

  # start fcron as a replacement for cron
  if [ -x /etc/rc.d/rc.fcron ]; then
        . /etc/rc.d/rc.fcron start
  fi

To prevent the automatic startup of the existing crond daemon:

  1) Turn off the execute bit on the crond binary:

     chmod -x /usr/sbin/crond

And/or:
  2) Comment out the crond code in /etc/rc.d/rc.M

     #if [ -x /usr/sbin/crond ]; then
     #  /usr/sbin/crond -l notice
     #fi

To create an fcrontab for root from the sample-root-fcrontab.txt file:

  fcrontab sample-root-fcrontab.txt