[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Re: Say the Time



>>>>> "Richard" == Richard  <richard [at] sheflug.co.uk> writes:

    Richard> Stephen "Stephen J. Turnbull" wrote:
 
    >> crontab?

    Richard> Hmmm...  cryptic clue ??  (number XXX ?? )

crontab -e, then insert the text

* * * * * /usr/bin/saytime

or, if you want some sleep,

* 7-23 * * * /usr/bin/saytime

or if you only want it on the half-hour

0,30 * * * * /usr/bin/saytime

or combinations of the above (man 5 crontab or man cron if that didn't
work).  Save it.  Done.  (You may have to play with the command to get
it to do exactly what you want.)

YMMV, this is for Vixie cron, there are others.

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.