Linux cron — говорящие часы

Содержимое:

pi@raspberrypi:/opt/kmsvsr $ crontab -l
# Edit this file to introduce tasks to be run by cron.
# 
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
# 
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').# 
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
# 
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
# 
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
# 
# For more information see the manual pages of crontab(5) and cron(8)
# 
# m h  dom mon dow   command

55 23 * * * python /home/pi/opt/remove_old_motion_files/remove_old_motion_files.py

# 00,10,20,30,43,50 12 19 09 * mplayer ~/delme/2019-09-19/02.mp3  # test

# KMS Talking Clock
#00 7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22 * * * mplayer ~/opt/sounds/clock_sound.wav

00 7 * * * mplayer ~/opt/sounds/clock07.wav
00 8 * * * mplayer ~/opt/sounds/clock08.wav
00 9 * * * mplayer ~/opt/sounds/clock09.wav
00 10 * * * mplayer ~/opt/sounds/clock10.wav
00 11 * * * mplayer ~/opt/sounds/clock11.wav
00 12 * * * mplayer ~/opt/sounds/clock12.wav
00 13 * * * mplayer ~/opt/sounds/clock13.wav
00 14 * * * mplayer ~/opt/sounds/clock14.wav
00 15 * * * mplayer ~/opt/sounds/clock15.wav
00 16 * * * mplayer ~/opt/sounds/clock16.wav
00 17 * * * mplayer ~/opt/sounds/clock17.wav
00 18 * * * mplayer ~/opt/sounds/clock18.wav
00 19 * * * mplayer ~/opt/sounds/clock19.wav
00 20 * * * mplayer ~/opt/sounds/clock20.wav
00 21 * * * mplayer ~/opt/sounds/clock21.wav
00 22 * * * mplayer ~/opt/sounds/clock22.wav

Добавить комментарий

Ваш адрес email не будет опубликован.

Protected by WP Anti Spam