-
Notifications
You must be signed in to change notification settings - Fork 3
/
john.txt
32 lines (31 loc) · 2.89 KB
/
john.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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
13 * * * * /usr/local/bin/ffmpeg -y -i http://video.news.sky.com/snr/news/snrnews.mp3 -af dynaudnorm=b=1:g=7,volume=-7dB -ac 2 -acodec libfdk_aac -vbr 5 -ar 48000 /home/john/src/radio/irn.mka
#30 * * * * /usr/local/bin/youtube-dl --no-continue -R 50 -f stream-uk-audio_streaming_concrete_combined_af_akamai_uk_dash-audio_eng_1=48000 -o /home/john/src/radio/bbcuknews.m4a https://www.bbc.co.uk/news/av/10318236/headlines-from-bbc-news && /usr/local/bin/ffmpeg -y -i /home/john/src/radio/bbcuknews.m4a -ac 2 -af dynaudnorm=b=1:g=7,volume=-11dB -acodec libfdk_aac -vbr 5 -ar 32000 /home/john/src/radio/bbcuknews.mka
43 * * * * /usr/local/bin/get_iplayer --ffmpeg /usr/local/bin/ffmpeg --overwrite --limit-matches 1 --force --available-since 1 -e 100 --file-prefix bbcnewscomplete --type radio --terse -o /home/john/ -g --fields desc "five minute news" && /usr/local/bin/ffmpeg -y -i ./bbcnewscomplete.m4a -vn -af dynaudnorm=b=1:g=7,volume=-11dB -acodec libfdk_aac -vn -vbr 5 -ac 2 -ar 48000 -t 03:00 /home/john/src/radio/bbcnews.mka
29 * * * * /usr/local/bin/ffmpeg -y -i `/home/john/src/radio/getCBS.py` -af dynaudnorm=b=1:g=7 -t 02:55.200 -ac 1 -ar 48000 -acodec libfdk_aac -vbr 5 ~/src/radio/cbsnews-temp.mka && /usr/local/bin/ffmpeg -y -i ~/src/radio/cbsnews-temp.mka -filter_complex "[0:0]asplit=2[st][fi];[fi]atrim=start=163,silenceremove=stop_periods=1:stop_threshold=-30dB:stop_duration=0.4[cl];[st]atrim=end=163[stc];[stc][cl]concat=n=2:a=1:v=0,asetpts=N/SR/TB,dynaudnorm=b=1:g=7,volume=-11dB" -acodec libfdk_aac -ar 48000 -ac 2 -vbr 5 ~/src/radio/cbsnews.mka
15 * * * * /usr/bin/expect -f /home/john/src/radio/insert_irn.exp
47 * * * * /usr/bin/expect -f /home/john/src/radio/insert_bbcnews.exp
#46 * * * * /usr/bin/expect -f /home/john/src/radio/insert_bbcuknews.exp
31 * * * * /usr/bin/expect -f /home/john/src/radio/insert_cbsnews.exp
*/5 * * * * /usr/bin/wget -O - --http-user JohnWarburton --http-password uGSo+7l/SHJRKDri "https://ipv4.tunnelbroker.net/nic/update?hostname=510430"