Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

readme.md

Cron Schedule Module

configuration

add following entry to crontab

* * * * * su dployio -s /bin/bash -c "cd /var/www/www.openstack.org && sake SchedulerCronTask" 1>> /dev/null 2>&1

to install sake please run on your site root

sudo ./framework/sake installsake;

then every time that you want to create a new cronjob just inherit from CronTask base class, and add an entry on cron_jobs_scheduler/_config/jobs.yml

like

 - name: "EventbriteSummitTicketTypeConciliation"
   params: "summit_external_id=32888262679"
   cron_expression: "00 01 * * *"
   enabled: 1
    

where name, and expression is mandatory and params optional