Crontabs.v7

From Access Information
Jump to: navigation, search


Installing New Server Mrepo smartd RAID Hardening YUM Crontabs LogWatch systemctl firewalld CentOS 7
Packages
Apache Bind Cacti DHCP mariadb Samba Sarg Sendmail Smokeping Rsync Work Apps
Problems VPN VPN Win Extras Bash MailScanner Horde Google CE Wake Up KVM
Other Computer Lab ISO2USB aiContact Google CE Android USB Live SRS XML

Crontabs

General crontabs that we install.

crontab -e
#########################
## AI Networks          #
#########################
#21 22 * * * python /var/www/aicontact/python/update_aicontact.py >>/dev/null 2>&1
#1 2 * * * python /var/www/aicontact/python/rsync_backup.py >>/dev/null 1>&1
#*/15 * * * * python /var/www/aicontact/python/keepalive7.py >>/dev/null 2>&1
#5 * * * * python /var/www/aicontact/python/netstat_excessive.py check >>/dev/null 2>&1  
#7 7 * * * python /var/www/aicontact/python/cacti_graphs.py >>/dev/null 2>&1
#5 5 * * * python /var/www/aicontact/python/ck_disk_used.py >>/dev/null 2>&1

#########################
#If using Mailscanner   #
#########################
#0-59 * * * *    /usr/local/bin/mailq.php >>/dev/null 2>&1
#0 0 1 * * /usr/local/bin/db_clean.php

#########################
# Server Maintenance    #
#########################
1 1 * * 1 /usr/bin/updatedb >>/dev/null 2>&1
0 0 * * * /etc/webmin/webalizer/webalizer.pl /etc/httpd/logs/access_log >>/dev/null 2>&1
40 15 * * * /etc/webmin/cron/tempdelete.pl #Delete Webmin temporary files

Services

Now that we have loaded most of the programs that we will be needing, now is a good time to set up services we want to start at startup.

To see services

systemctl
systemctl enable mariadb.service
systemctl enable httpd.service
  • Did you find this page useful?
  • Do you have an issue that you have not yet fixed?

We can do this for you.

I am available for technical support. Please follow this link. Tech Support Request.
+64-6-880-0000 : ++1-808-498-7146 : help@ai.net.nz
Getting us to help you