On Mon, 30 Aug 2010 03:14:58 +0000
Antonio Olivares <olivares14...@gmail.com> wrote:

> Dear fellow FreeBSD users,
> 
> I have a cron script that plays music in the morning when I arrive at
> work.
> 
> in ~/.xalarm I have two lines, one that calls xterm and one that calls
> mplayer and plays a series of music files in a playlist
> 
> crontab -l
> has the following
> # min  hour day-of-month month day-of-week command
> # 0-59 0-23     1-31     1-12  0-6 0=sun 1=mon
> 00 07 * * 1-5 ~/.xalarm >/dev/null 2>&1
> 30 07 * * 1-5 killall -9 /usr/local/bin/mplayer >/dev/null 2>&1

You don't need the path to mplayer.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to