God , Resque, Resque-schedule, is working,but buggy. Need to combine with LDAP and also implement XML calendar sync.

This commit is contained in:
Matthew K. Fu JuYuan authored and Christophe Vilayphiou committed 2012-05-08 20:26:36 +08:00
1 parent dbac219c18
commit 7af17f19ac
5 files changed
+27 -13

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ require 'resque_scheduler'
# require 'yaml'
Resque.redis = 'localhost:6379'
Resque.redis.namespace = "resque:SchedulerExample"
#Resque.redis.namespace = "resque:SchedulerExample"
# If you want to be able to dynamically change the schedule,
# uncomment this line. A dynamic schedule can be updated via the
+15 -3
View File
@@ -1,5 +1,17 @@
do_my_job:
every: 30s
do_mail_matt:
every: 10s
class: FetchTime
args:
description: Runs the perform method in MyJob
description: Runs the perform method in FetchTime
nccu_daily_ldap_sync:
cron: 30 * * * * *
class: SyncDb
args:
description: Runs the perform method in SnycDB
nccu_claender_sync:
every: 1m
class: NccuCalendar
args:
description: Runs the perform method in NccuCalendar