/hello-cron

basic demonstration of automatically running things with cron

Primary LanguageShell

hello-cron - basic demonstration of automatically running things with cron

EXAMPLES

gobbles.mp3

$ shout
<Gobbles!>

ABOUT

hello-cron provides a simple example of scheduling jobs with cron / crond.

LIST CRON JOBS

$ crontab -l

INSTALL

Use crontab -e to launch an interactive crontab editing session, each line representing an individual cron job. When you're ready, save and quit the editing session to effect your changes.

$ crontab -e
...
:wq

$ crontab -l
* * * * * .../hello-cron/lib/shout

As root user

$ sudo crontab -u root -e
...
:wq

Provision

$ cp conf/shout.crontab /etc/cron.d/

SYNTAX

See conf examples.

UNINSTALL

$ crontab -e

dd

:wq

REQUIREMENTS

Recommended

DEVELOPMENT

Lint

$ vast [lint]