dotfiles

beau's configuration files
git clone https://git.beauhilton.com/dotfiles.git
Log | Files | Refs | README

crontab.bak (2249B)


      1 ### updates ##
      2 # sync mail
      3 */10 * * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus; export DISPLAY=:0; . $HOME/.profile; /usr/bin/mailsync
      4 # update music library
      5 0,15,30,45 * * * * /usr/bin/mpc update
      6 # download packages (but do not install)
      7 5 */3 * * * eval "export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus"; /home/beau/.local/bin/cron/checkup
      8 # update newsboat
      9 10 */2 * * * eval "export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus"; /home/beau/.local/bin/cron/newsup
     10 
     11 ### backups ###
     12 
     13 # crontab backup
     14 9 15 * * * crontab -l > .config/cron/crontab.bak
     15 # newsboat read articles backup
     16 3 13 * * * newsboat -E "/home/beau/.config/newsboat/read_articles"
     17 # newsboat sync read articles
     18 2 14 * * * newsboat -I "/home/beau/.config/newsboat/read_articles"
     19 ################===YT-DL===################
     20 # Luke Smith
     21 #* */2 * * * cd /home/beau/vids/instructional/luke_smith && /bin/youtube-dl --add-metadata --download-archive '/home/beau/vids/instructional/luke_smith/downloadedxyz.txt' -f best -ciw -o "\%(upload_date)s_\%(uploader)s_\%(title)s.\%(ext)s" -v https://www.youtube.com/channel/UC2eYFnH61tmytImy1mTYvhA/ && rm *.part
     22 # fastai
     23 #* * */2 * * mkdir -p /home/beau/vids/instructional/fastai && cd /home/beau/vids/instructional/fastai && /bin/youtube-dl --add-metadata --download-archive '/home/beau/vids/instructional/fastai/downloadedfai.txt' -f best -ciw -o "\%(upload_date)s_\%(uploader)s_\%(title)s.\%(ext)s" -v https://www.youtube.com/playlist?list=PLfYUBJiXbdtSIJb-Qd3pw0cqCbkGeS0xn && rm *.part
     24 ################===========################
     25 #
     26 # * * * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus; export DISPLAY=:0; . $HOME/.profile; ~/.scripts/cron/newsup
     27 # */4 * * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus; export DISPLAY=:0; . $HOME/.profile; ~/.scripts/cron/cronbat
     28 # */31 * * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus; export DISPLAY=:0; . $HOME/.profile; ~/.scripts/cron/getforecast
     29 # 7 */3 * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus; export DISPLAY=:0; . $HOME/.profile; ~/.scripts/cron/checkup
     30 # * * * * * ~/.scripts/cron/getforecast && /bin/echo "getforecast works!" >> /tmp/file && /bin/date >> /tmp/file