mywiki/linux/script/crontab

23 lines
1.5 KiB
Plaintext
Raw Normal View History

2023-05-24 17:23:34 +02:00
#.---------------- [m]inute: minuto (0 - 59)
#| .------------- [h]our: ora (0 - 23)
#| | .---------- [d]ay [o]f [m]onth: giorno del mese (1 - 31)
#| | | .------- [mon]th: mese (1 - 12) OPPURE jan,feb,mar,apr...
#| | | | .---- [d]ay [o]f [w]eek: giorno della settimana (0 - 7) (la domenica vale 0 o 7) OPPURE sun,mon,tue,wed,thu,fri,sat
#| | | | |
#
2023-05-25 15:11:37 +02:00
#* * * * * user comando
2023-05-24 17:23:34 +02:00
2023-05-28 14:15:51 +02:00
0 9,21,22 * * * pg_dump cinema > ~/Nextcloud/Database/db.sql
2023-05-24 17:23:34 +02:00
#0 9,20 * * * nice -n 19 clamscan -ir $HOME --log=clamavlog.txt --move=$HOME/quarantine/ 2>&1
2023-05-25 16:28:29 +02:00
0 22 * * * /usr/bin/rsync -az --delete --exclude=Nextcloud ~/ /media/davide/Backup/Desktop/ && date >> ~/backup.log
2023-05-28 14:15:51 +02:00
0 9,15,20 * * * rsync -aPz ~/.bashrc ~/Documenti/repos/mywiki/linux/bash/bashrc
0 9,15,20 * * * rsync -aPz ~/.inputrc ~/Documenti/repos/mywiki/linux/bash/inputrc
0 9,15,20 * * * rsync -aPz ~/.config/alacritty/alacritty.yml ~/Documenti/repos/mywiki/linux/alacritty/alacritty.yml
0 9,15,20 * * * rsync -aPz ~/.config/feh/ ~/Documenti/repos/mywiki/linux/feh/
0 9,15,20 * * * rsync -aPz ~/.config/neofetch/ ~/Documenti/repos/mywiki/linux/neofetch/
0 9,15,20 * * * rsync -aPz ~/.config/ranger/ ~/Documenti/repos/mywiki/linux/ranger/
0 9,15,20 * * * rsync -aPz ~/.config/rnr/ ~/Documenti/repos/mywiki/linux/rnr/
0 9,15,20 * * * rsync -aPz ~/.vimrc ~/Documenti/repos/mywiki/linux/vim/vimrc
0 9,15,20 * * * rsync -aPz ~/.xbindkeysrc /home/davide/Documenti/repos/mywiki/linux/xbindkeys/xbindkeysrc
0 9,15,20 * * * crontab -l > ~/Documenti/repos/mywiki/linux/script/crontab