# 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 #๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ #docker restart ipsec-vpn-server #๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ #docker restart wg-easy #๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ #้‡ๆ–ฐ้–‹ๆฉŸๆ™‚,็ด€้Œ„้–‹ๆฉŸๆ™‚้–“ @reboot sleep 60 ; sudo sh /home/hckao/rb-time.sh @reboot sleep 75 ; sudo sh /home/hckao/ipaddr.sh 00 10 * * * sudo apt update 20 10 * * * sudo apt upgrade -y #00 03 * * * sudo shutdown now 50 12 * * * sudo ntpdate -q time.stdtime.gov.tw 00 06 * * * sudo sh /home/hckao/ipaddr.sh 0 */6 * * * sudo docker restart optimistic_hofstadte #NAT็”จ @reboot /sbin/iptables -t nat -A POSTROUTING -s 192.168.9.0/24 -o ppp0 -j MASQUERADE @reboot /sbin/iptables -A FORWARD -p tcp --syn -s 192.168.9.0/24 -j TCPMSS --set-mss 1356 #forward็ถ“ๅธธๅฟฝ็•ฅ็š„ๆญฅ้ฉŸ #sudo nano /etc/sysctl.conf #net.ipv4.ip_forward=1 #๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ #ๅ•Ÿๅ‹• noip2 @reboot sleep 20 ; sudo systemctl stop noip2.service @reboot sleep 22 ; sudo systemctl start noip2.service #๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ #ๅ•Ÿๅ‹• collabora @reboot sleep 180 ; docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" collabora/code @reboot sleep 240 ; docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" collabora/code * */2 * * * docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" collabora/code #๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ๐Ÿ”ผ #ๆบซๅบฆ็ด€้Œ„ */30 * * * * sudo sh /home/hckao/meas_temp.sh 25 09 * * 1 sudo sh /home/hckao/backup_temp.sh #ๆฏ้€ฑไธ€ไธŠๅˆ 9:25 ๅ‚™ไปฝไธ€ๆฌก #ๆบซๅบฆ็ด€้Œ„