Test version for DB sync schedule job

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-05-08 19:20:53 +08:00
1 parent f827e8429e
commit 083963af65
6 files changed
+23 -76

No files matched your search

@@ -11,4 +11,4 @@ mid_host = {
:database => "RSS23_NCCU_MIDDLE",
:encoding => "UTF8"
}
#MID_CLIENT = Mysql2::Client.new(mid_host)
MID_CLIENT = Mysql2::Client.new(mid_host)
+8 -8
View File
@@ -1,17 +1,17 @@
do_mail_matt:
every: 10s
class: FetchTime
args:
description: Runs the perform method in FetchTime
# do_mail_matt:
# every: 10s
# class: FetchTime
# args:
# description: Runs the perform method in FetchTime
nccu_daily_ldap_sync:
cron: * * [0,12] * * *
class: SyncDb
args:
description: Runs the perform method in SnycDB
description: Sync NCCU middle site with Orbit for LDAP data
nccu_claender_sync:
every: 1m
cron: * * [0,12] * * *
class: NccuCalendar
args:
description: Runs the perform method in NccuCalendar
description: Sync NCCU calendar RSS Feeds