The list below contains all scheduled jobs. Click "Queue now" to queue a job immediately.
Name | IP | Description | Cron | Class | Arguments | ||
---|---|---|---|---|---|---|---|
<%= button_to "Queue now", {:controller=>'resque', :action=> 'schedule_requeue', :job_name => name}, :method => :post %> | <%= h name %> | <%= h config['ip'] %> | <%= h config['description'] %> | <%= h config['cron'] %> | <%= h config['class'] %> | <%= h config['args'].inspect %> | <%= button_to "Remove", {:controller=>'resque', :action=> 'remove_from_schedule', :job_name => name, :ip => config['ip']}, :method => :post %> |
<%= flash_message %>
<%= javascript_tag "$('flash').show();" %> <% end %>Name | IP | Description | Cron | Class | Arguments | |
---|---|---|---|---|---|---|
<%= text_field_tag :name %> | <%= text_field_tag :ip %> | <%= text_field_tag :description %> | <%= text_field_tag :cron %> | <%= text_field_tag :class %> | <%= text_area_tag :args, nil, :rows => 1, :cols => 40%> | <%= submit_tag 'Add Job', :id => 'add_job' %> |
IP | Status | |
---|---|---|
<%= ip %> | <%= status %> | <% if status == 'Running' -%> <%= button_to "Stop Scheduler", {:controller=>'resque', :action=> 'stop_scheduler', :ip => ip}, :method => :post %> <% else -%> <%= button_to "Start Scheduler", {:controller=>'resque', :action=> 'start_scheduler', :ip => ip}, :method => :post %> <% end -%> |