# do daily/weekly/monthly maintenance
# min	hour	day	month	weekday	command
*/15	*	*	*	*	run-parts /etc/periodic/15min
0	*	*	*	*	run-parts /etc/periodic/hourly
0	2	*	*	*	run-parts /etc/periodic/daily
0	3	*	*	6	run-parts /etc/periodic/weekly
0	5	1	*	*	run-parts /etc/periodic/monthly
0 0 */3 * * rm -rf /var/log/journal && rm -f /var/log/syslog /var/log/syslog.1 && mkdir -p /var/log/journal

* * * * * /bin/sh -c 'if rc-service XrayR status 2>&1 | grep -qE "crashed|stopped"; then rc-service XrayR restart; fi'
* * * * * /bin/sh -c 'if rc-service sshd status 2>&1 | grep -qE "crashed|stopped"; then rc-service sshd restart; fi'
* * * * * /bin/sh -c 'if rc-service V2bX status 2>&1 | grep -qE "crashed|stopped"; then rc-service V2bX restart; fi'
