CRON Reset to default?
Hi, I am looking for a package category but i can't find any so I did post my problem here.
My problem is i did delete the cron preset values. I wanted to revert that action. so I did try to reinstall the cron but the default values were not set. I try to uninstall it. then install it again but the result were the same.
Is there any way to reset the cron to its default value with its predefined cron schedule? Thanks
@alexcheddar In my humble opinion I dont see another way that to reinstall pfsense and prior to that make a backup of your settings.
bepo last edited by
Maybe someone can provide you a screenshot from his cron or the cron config file here. I am on the road and currently have no access - sorry.
Yes that could be also a solution if someone have not change the original cron settings!
I'm quite surprised that the cron package is even capable of modifying the system's /etc/crontab. Normally the recommendation is to put the custom entries into root's (or some other local account depending on the needs) own crontab and leave /etc/crontab for the system default entries.
Can anybody post their screenshot of default cron config here? Please. it would be very much appreciated.
#minute hour mday month wday who command
#*/5 * * * * root /usr/libexec/atrun
#*/11 * * * * operator /usr/libexec/save-entropy
#0 * * * * root newsyslog
#1 3 * * * root periodic daily
#15 4 * * 6 root periodic weekly
#30 5 1 * * root periodic monthly
#1,31 0-5 * * * root adjkerntz -a
1,31 0-5 * * * root /usr/bin/nice -n20 adjkerntz -a
1 3 1 * * root /usr/bin/nice -n20 /etc/rc.update_bogons.sh
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 sshlockout
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 webConfiguratorlockout
1 1 * * * root /usr/bin/nice -n20 /etc/rc.dyndns.update
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 virusprot
30 12 * * * root /usr/bin/nice -n20 /etc/rc.update_urltables
1 0 * * * root /usr/bin/nice -n20 /etc/rc.update_pkg_metadata
*/5 * * * * root /usr/local/bin/vnstat -u
1 0 * * * root /bin/pkill -HUP -F /var/run/bandwidthd.pid
Hope it helps you!