Editing
Infrastructure Machines
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Cronjobs == * * * * * /usr/local/www/mgmt/mrtg/mrtg.sh > /dev/null 2>&1 Gathers up data for our mrtg/load graphs */5 * * * * /usr/local/bin/rsync -a root@nat2:/mnt/data1/mrtg/data/ /usr/local/www/mgmt/mrtg/data/ Gathers up data from i2b servers for our mrtg/load graphs 40 0 * * * /usr/local/bin/rsync -a root@nat2:"/mnt/data1/mrtg/*.cfg" /usr/local/www/mgmt/mrtg Gathers up mrtg configuration (port names) from i2b switches for our mrtg/load graphs 41 0 * * * for f in `grep -l "mnt\/data1" /usr/local/www/mgmt/mrtg/switch-p*.cfg`; do cat $f | sed s#\/mnt\/data1#\/usr\/local\/www\/mgmt# > $f.new; mv $f.new $f; done Gathers up mrtg configuration (port names) from castle switches for our mrtg/load graphs 1 0 1 * * cp /usr/local/www/mgmt/html/top20ip /usr/local/www/mgmt/html/top20ip_last 1 0 1 * * cp /usr/local/www/mgmt/html/top20customers /usr/local/www/mgmt/html/top20customers_last 2 * * * * /usr/local/www/cronjobs/top20ip.pl > /dev/null 2>&1 15 * * * * /usr/local/www/cronjobs/top20customer.pl > /dev/null 2>&1 1 0 1 * * rm /usr/local/www/mgmt/html/bandtrack Archiving and generation of bandwidth statistics presented in mgmt -> Reference -> Bandwidth 1 0 * * * /usr/local/etc/rsync.backup Nightly backup script 0 1 * * * /usr/local/www/mgmt/awstats/wwwroot/cgi-bin/awstats.pl -config=jcpub -update Public web traffic stats 15 0 * * * rm /usr/local/www/mgmt/bwgraphs/*.png 16 0 * * * rm /usr/local/www/am/bwgraphs/* Cleanup for graph-related temp data generated by customers using the bandwidth reports via the AM 10 0 1 * * /usr/local/www/cronjobs/monthly_bandwidth_report.pl Monthly bandwidth overage report */3 * * * * /usr/local/www/cronjobs/bbcheck.pl Updates mgmt with bb monitoring issues 5 0 * * * /usr/local/www/cronjobs/shutdownreminder.pl Emails customers reminding them of upcoming shutdown date 7 0 * * * /usr/local/www/cronjobs/invoice_email.pl Emails customers who have invoices and are set to auto-email (currently no customer gets these) 8 */4 * * * /usr/local/www/cronjobs/mysqlrepchk.pl Checking that we are properly replicating (mysql) traffic data from bwdb to backup1 16 0 1 * * /usr/local/www/cronjobs/purge_traffic.pl Removed old traffic data from the traffic database (running on backup1) */5 * * * * chmod 0700 /usr/local/www/ccard_orders/* && mv /usr/local/www/ccard_orders/* /usr/local/www/ccard_orders/done Secure credit card data: set root-read-only 25 0 * * * /usr/local/www/cronjobs/biller.pl Enters service charges in customer billing ledgers 10 13 * * * /usr/local/www/cronjobs/pfp_batch_gather.pl Looks for customers with balance due and active credit card on file, prepares a payflow batch 10 14 * * * /usr/local/www/cronjobs/pfp_batch_process.pl Tries to collect ccard funds for items in payflow batch - communicates with payflow 15 13 * * * /usr/local/www/cronjobs/pb_batch_gather.pl Looks for customers with balance due and active paypal billing agreement on file, prepares a paypal batch 15 14 * * * /usr/local/www/cronjobs/pb_batch_process.pl Tries to collect paypal funds for items in paypal batch - communicates with paypal 0 7 * * 1 /usr/local/www/cronjobs/email_pmt_reminder.pl Emails customers in arrears, reminding them to pay 0 0 1 * * /usr/bin/mail -s 'archive sent mail in pine' support@johncompanies.com < /dev/null Reminds us to archive sent mail 0 3 * * * /usr/local/bin/rsync -a isys.e-monitoring.net:/var/mail /backup2/isys; /usr/local/bin/rsync -a isys.e-monitoring.net:/usr/home /backup2/isys Backup data on isys
Summary:
Please note that all contributions to JCWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JCWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information