Tags:
create new tag
, view all tags

Aktueller crontab

Der aktuelle crontab in der Produktion ist unter ~/conf/crontab zu finden. Bei Änderungen sollte nur dieses File editiert und anschliessend mit restart_crontab in Produktion gesetzt werden. Ein crontab -e ist zu vermeiden!

MAILTO=swen@ethz.ch,kdavor@ethz.ch

################################################################################
# Environment variables

PERLBREW_VERSION=0.67
PERLBREW_PERL=perl-5.16.3
PERLBREW_BASHRC_VERSION=0.67
PERLBREW_ROOT=/instances/home/idnp/perl5/perlbrew
PERLBREW_HOME=/instances/home/idnp/.perlbrew
PERLBREW_MANPATH=/instances/home/idnp/perl5/perlbrew/perls/perl-5.16.3/man
PERLBREW_PATH=/instances/home/idnp/perl5/perlbrew/bin:/instances/home/idnp/perl5/perlbrew/perls/perl-5.16.3/bin

#
PERL5LIB=/instances/home/idnp/cronjobs

PATH=/instances/home/idnp/perl5/perlbrew/bin:/instances/home/idnp/perl5/perlbrew/perls/perl-5.16.3/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/instances/home/idnp/bin

ORACLE_BASE=/usr/lib/oracle/11.1/client64
ORACLE_HOME=/usr/lib/oracle/11.1/client64

NLS_LANG="american_america.we8iso8859p9"
TNS_ADMIN="/usr/lib/oracle/11.1/client64/network/admin"
LANG='en_US'


#         A C H T U N G
# immer das File ~/conf/crontab editieren, nicht mit crontab -e!
# restart_crontab - cron stoppen, dieses File als neuen crontab installieren
# stop_crontab - crontab stoppen
# start_crontab - dieses File als neuen crontab installieren

# * * * * *  command to execute
# | | | | |
# | | | | |
# | | | | +--- day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
# | | | +----- month (1 - 12)
# | | +------- day of month (1 - 31)
# | +--------- hour (0 - 23)
# +----------- min (0 - 59)

# Admin-Tool generell
*/10      * * *   * ${HOME}/cronjobs/clean_sessions.pl 12 
  30      5 * *   * ${HOME}/cronjobs/update_uname_login_until.pl
   3     18 * *   * ${HOME}/cronjobs/do_login_until.pl
  33     11 * *   * ${HOME}/cronjobs/do_delete_after.pl
   0      7 * *   * ${HOME}/cronjobs/mail_warning.pl
#  32      * * *   * ${HOME}/cronjobs/update_doc.pl
   0 5-20/5 * *   * ${HOME}/cronjobs/schedule_pdb_jobs.pl
   5 5-20/5 * *   * ${HOME}/cronjobs/schedule_pdb_check.pl
  20 5-20/5 * *   * ${HOME}/cronjobs/schedule_execute.pl

################################################################################
# VPP

# VPP billing
# */10      * * *   * ${HOME}/cronjobs/update_vpp_accounting.pl --report-missing-users --email=swen@ethz.ch --log=${HOME}logs/vpp_log_errors.log
# the same without --report-missing-users

*/10      * * *   * ${HOME}/cronjobs/update_vpp_accounting.pl --email=swen@ethz.ch --log=${HOME}/logs/vpp_log_errors.log

# Reporting
  23      1 * *   1 ${HOME}/cronjobs/vpp_report.pl
#   1      1 1 *   * ${HOME}/cronjobs/cmn_report.pl

# Kontakt-Datenbank
  35   7-22 * *   * ${HOME}/cronjobs/kontakt_db.pl

# Sympa
  33      3 * *   * ${HOME}/cronjobs/sync_sympa.pl

# Active Directory und Exchange
  25     21 * *   * ${HOME}/cronjobs/update_Ngroup_Exchange.pl
   0     10 * *   * ${HOME}/cronjobs/update_inbounds.pl
   0     15 * *   * ${HOME}/cronjobs/update_AD.pl
*/20      * * *   * ($HOME/cronjobs/ad.pl SetMissingPosixGroups; $HOME/cronjobs/ad.pl SynchronizeGidNumberWithPrimaryGroupID) 2>&1
   0      1 * *   * ${HOME}/cronjobs/delete_mail_lists.pl
   0      1 * *   * ${HOME}/cronjobs/delete_contacts.pl

# restricted users für Papercut
   0      3 * *   * ${HOME}/cronjobs/students_only_exchange.pl
   0      2 * *   * ${HOME}/cronjobs/students_only_exchange_test.pl

# IAT - Informations- und Alarmierungstool: erstellen der Gebäudeverteiler
  10      8 * *   * ${HOME}/cronjobs/iat_mailing_lists.pl

# für eine Silva-Applikation (Benno Luthiger)
   0     18 * *   * ${HOME}/cronjobs/sync_funktionstraeger.pl


# check if all DBMS - Jobs on Oracle are up and running
   0      8 * *   * ${HOME}/cronjobs/check_dbms_jobs.pl

# Spamfilter-Einstellungen synchronisieren
*/15      * * *   * ${HOME}/cronjobs/spamfilter.pl >/dev/null  2>&1 

# LDAPS - Synchronisation
   5      9 * *   * ${HOME}/cronjobs/update_Ngroup_LDAPS.pl
  15      9 * *   * ${HOME}/cronjobs/get_ngroups.pl
  45      9 * *   * ${HOME}/cronjobs/put_ngroups.pl
  35      * * *   * ${HOME}/cronjobs/update_LDAPS.pl
 */5      * * *   * ${HOME}/cronjobs/fix_lz_groups.pl

# CQ5 - Synchronisation
  41      6 * *   * ${HOME}/cronjobs/update_CQ5.pl
   0      7 * *   7 ${HOME}/cronjobs/update_CQ5_slaves.pl wcpaut-cms11.ethz.ch
   0      8 * *   7 ${HOME}/cronjobs/update_CQ5_slaves.pl wctaut-cms11.ethz.ch
   0      9 * *   7 ${HOME}/cronjobs/update_CQ5_slaves.pl wchkaut-cms21.ethz.ch

# Message-Tree?
   5      * * *   * ${HOME}/cronjobs/spoolmail_send.pl

################################################################################
# ISG tool

#  20     20 * *  1 ${HOME}/cronjobs/isg_mail_warning.pl


Topic revision: r2 - 2015-03-11 - vermeul
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback