From: "Pablo Q." Date: 2008-08-10T21:50:18+09:00 Subject: Ruby ruffus scheduler doesn't work on Sunday's ------=_Part_40538_28235465.1218372751667 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have a process that must run on Sunday but by some unknown reason it doesn't work, here is the code that I'm using: require 'rubygems' require 'rufus/scheduler' require "weekly" class WeeklyScheduler def initialize() @cron_run_weekly = '22 7 * * 7' end def start(count) scheduler =Rufus::Scheduler.new scheduler.start #----------------------------------------------------------------------- job = scheduler.schedule @cron_run_weekly do day_r = Time.now puts "Weekly process start for day #{day_r}" puts "Running weekly!" process = Weekly.new(date) process.run end scheduler.join end end I tried with this cron's strings too: @cron_run_weekly = '22 7 * * Sun' @cron_run_weekly = '22 7 * * 0' but It didn't run. I'm on an Window Server machine. Thanks -- Pablo Q. ------=_Part_40538_28235465.1218372751667--