Hi All,
I have some scripts running. Installed via amtm.
I checked the cron jobs and this is the list:
Is it safe to change those times? I prefer most of the scripts running at night and not at daytime.
Or is there a tool to use to manage cronjobs?
To something like this
I have some scripts running. Installed via amtm.
I checked the cron jobs and this is the list:
Code:
*/15 * * * * /jffs/scripts/domain_vpn_routing.sh querypolicy all #setup_domain_vpn_routing#
5 0 * * * /opt/sbin/logrotate /opt/etc/logrotate.conf >> /opt/tmp/logrotate.daily 2>&1 #logrotate#
18 0 */7 * * service restart_letsencrypt #LetsEncrypt#
*/10 * * * * /jffs/scripts/ntpmerlin generate #ntpMerlin#
*/2 * * * * /etc/openvpn/server1/vpn-watchdog1.sh #CheckVPNServer1#
*/5 * * * * /jffs/scripts/dn-vnstat generate #dn-vnstat_generate#
59 23 * * * /jffs/scripts/dn-vnstat summary #dn-vnstat_summary#
25 18 * * * sh /jffs/scripts/firewall banmalware #Skynet_banmalware#
11 1 * * Mon sh /jffs/scripts/firewall update #Skynet_autoupdate#
0 * * * * sh /jffs/scripts/firewall save #Skynet_save#
47 */12 * * * sh /jffs/scripts/firewall debug genstats #Skynet_genstats#
00 2 * * Fri /bin/sh /opt/share/diversion/file/update-bl.div reset #Diversion_UpdateBL#
20 5 * * * /bin/sh /opt/share/diversion/file/rotate-logs.div #Diversion_RotateLogs#
20 17 * * * diversion count_ads count #Diversion_CountAds#
30 1 * * Fri /bin/sh /opt/share/diversion/file/stats.div #Diversion_WeeklyStats#
Is it safe to change those times? I prefer most of the scripts running at night and not at daytime.
Or is there a tool to use to manage cronjobs?
To something like this
Code:
# Every X minutes
*/2 * * * * /etc/openvpn/server1/vpn-watchdog1.sh #CheckVPNServer1#
*/5 * * * * /jffs/scripts/dn-vnstat generate #dn-vnstat_generate#
*/10 * * * * /jffs/scripts/ntpmerlin generate #ntpMerlin#
*/15 * * * * /jffs/scripts/domain_vpn_routing.sh querypolicy all #setup_domain_vpn_routing#
# Only on 7th day of month
10 0 */7 * * service restart_letsencrypt #LetsEncrypt#
# Every X minutes of the hour
10 1 * * * /opt/sbin/logrotate /opt/etc/logrotate.conf >> /opt/tmp/logrotate.daily 2>&1 #logrotate#
15 1 * * * /jffs/scripts/dn-vnstat summary #dn-vnstat_summary#
25 1 * * * sh /jffs/scripts/firewall banmalware #Skynet_banmalware#
30 1 * * * sh /jffs/scripts/firewall save #Skynet_save#
35 1 * * * /bin/sh /opt/share/diversion/file/rotate-logs.div #Diversion_RotateLogs#
40 1 * * * diversion count_ads count #Diversion_CountAds#
# Only on Monday or friday
20 1 * * Mon sh /jffs/scripts/firewall update #Skynet_autoupdate#
45 1 * * Fri /bin/sh /opt/share/diversion/file/stats.div #Diversion_WeeklyStats#
50 1 * * Fri /bin/sh /opt/share/diversion/file/update-bl.div reset #Diversion_UpdateBL#
# At 55 every 12th hour
55 */12 * * * sh /jffs/scripts/firewall debug genstats #Skynet_genstats#
Last edited: