Backport cron handling from HEAD.
Patches-submitted-by: DSH@
Shift ping handling duties over to minicron. Cron is just not working for some reason.
Add check_reload_status checker script to ensure that it is always running.
Prior attempts to restart from filter.inc lead to socket descriptor inheriting strangeness.
Revert previous dhclient crontab mojo. When running rc.newwanip if the ip == 0.0.0.0 then fire off dhclient again.
As seen on the forums ( http://forum.pfsense.org/index.php/topic,2645.0/topicseen.html )
Check DHCP interfaces every 6 hours for dhclient issues. Launch dhclient if it is not bound to an interface correctly.
Cleanup file
Automatically expire snort2c table every 60 minutes. This can also be used by other system components for temporary blocking.
Expire virusprot table every hour.
Ticket #1053
MFC vpn ping code
Run at 1:01 AM
Adjust crontab. For some reason dyndns was running every minute!?
Remove periodic scripts and other helpers
Change crontab entry to every 20 hours
Ticket #574
Run dyndns update every 2 am to check for changes.
Remove ntp update from crontab, it should be running constantly.
Move to minicron
Update time
Add dynsdns.update
Call /etc/rc.dyndns.update once every week
Expire items older than an hour
Run the expiretable utility on the sshlockout table once every 60 minutes
Update bogons file once a week
Seperate update bogons functions into its own file /etc/update_bogons.sh
Full path to nice
Move /etc/rc.prunecaptiveportal from minicron to cron
Load the bogon list after fetching
Back out periodic package sweeping until I can test it.
Add periodic package sweeping to crontab.
Add needed newline
Randomize grabbing the bogons file to 3000 minutes to somewhat distribute all of the pfSense installed base from hitting at the same time ;)
Add custom pfsense crontab