tduong992 / ultimate_cron Goto Github PK
View Code? Open in Web Editor NEWThis project forked from md-systems/ultimate_cron
Drupal 8 Ultimate Cron Port
Home Page: https://www.drupal.org/project/ultimate_cron
This project forked from md-systems/ultimate_cron
Drupal 8 Ultimate Cron Port
Home Page: https://www.drupal.org/project/ultimate_cron
Credits ------- Thanks to Mark James for the icons http://www.famfamfam.com/lab/icons/silk/ Example code: // Default cron-function, configurable through /admin/config/system/cron function mymodule_cron() { // Do some stuff ... } // Define custom cron functions. function mymodule_cronapi($op, $job = NULL) { return array( 'mymodule_cronjob_1' => array( 'title' => 'Cron-1 Handler', 'scheduler' => array( 'name' => 'crontab', 'crontab' => array( 'rules' => array('*/13 * * * *'), ), ), ), 'mymodule_cronjob_2' => array( 'title' => 'Cron-2 Handler', 'callback' => 'mymodule_somefunction', 'scheduler' => array( 'name' => 'crontab', 'crontab' => array( 'rules' => array('0 0 1 * *'), ), ), ), 'mymodule_cronjob_3' => array( 'title' => 'Cron-3 Handler', ), ); } // Custom cron-function function mymodule_cronjob_1($job) { // Do some stuff ... } // Custom cron-function function mymodule_somefunction($job) { // Do some stuff ... } // Custom cron-function function mymodule_cronjob_3($job) { // Do some stuff ... } // Easy-hook, uses rule: 0+@ * * * * function mymodule_cron_hourly($job) { // Do some stuff } // Easy-hook, uses rule: 0+@ 12 * * * function mymodule_cron_daily($job) { // Do some stuff } // Easy-hook, uses rule: 0+@ 0 * * * function mymodule_cron_nightly($job) { // Do some stuff } // Easy-hook, uses rule: 0+@ 0 * * 1 function mymodule_cron_weekly($job) { // Do some stuff } // Easy-hook, uses rule: 0+@ 0 1 * * function mymodule_cron_monthly($job) { // Do some stuff } // Easy-hook, uses rule: 0+@ 0 1 1 * function mymodule_cron_yearly($job) { // Do some stuff }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.