Child pages
  • OpenTUSK Install Instructions for RHEL-CentOS-5.8

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
### Session Tracking
1 1 * * * /usr/local/tusk/current/bin/clean_session_table 2>&1 | /usr/local/tusk/current/bin/mail_cron_error "Old Session Cleaner"
0 3 * * * /usr/local/tusk/current/bin/update_tracking 2>&1 | /usr/local/tusk/current/bin/mail_cron_error "Daily Tracking updater"
30 4 * * * /usr/local/tusk/current/bin/update_hot_content noprint 2>&1 | /usr/local/tusk/current/bin/mail_cron_error "Hot content updater"


### Misc cleanup
25 4 * * * /usr/bin/find /data/temp/ -type f -ctime +2 -exec /bin/rm -f {} \; 2>&1 | /usr/local/tusk/current/bin/mail_cron_error "Temp file cleanup"

### Forum Crons
10 3 * * * /usr/local/tusk/current/code/forum/cron_jobs.pl 2>&1 | /usr/local/tusk/current/bin/mail_cron_error "Forums: cron_jobs"
20 3 * * * /usr/local/tusk/current/code/forum/cron_subscriptions.pl 2>&1 | /usr/local/tusk/current/bin/mail_cron_error "Forums: cron_subscriptions"
30 * * * * /usr/local/tusk/current/code/forum/cron_rss.pl 2>&1 | /usr/local/tusk/current/bin/mail_cron_error "Forums: cron_rss"

### Eval fts index
5 2 * * 1-5 /usr/local/tusk/current/bin/eval_fts_index --changes_update --school=all 2>&1 | /usr/local/tusk/current/bin/mail_cron_error "Eval FTS Indexer"

### fts index
0,15,30,45 * * * * TZ="US/Eastern";export TZ;/usr/local/tusk/current/bin/fts_index --recent --noprint 2>&1 | /usr/local/tusk/current/bin/mail_cron_error "FTS Indexer"

### Run mysql backups - This is run by root because the job needs to be able to read/write mysql owned files
#0 11 * * * /usr/local/tusk/current/bin/mysql_backup --backup --replication --days 5 --dir /data/mysql_backup --socket /var/lib/mysql/mysql.backup.sock

...