watchowl / cake-scheduler Goto Github PK
View Code? Open in Web Editor NEWCron Scheduler for CakePHP
Cron Scheduler for CakePHP
Having this function available makes is very convenient to have access to Cake parts imported with bootstrap. In my case access to Configure::read
to determinate if a scheduled task should be enabled or not.
Right now I need to search for bootstrap within the tasks.php file, use case would be as follows:
<?php
$schedule = new \WatchOwl\CakeScheduler\Schedule\CakeSchedule();
$schedule->loadCakeBootstrapFile();
if (\Cake\Core\Configure::read('PeriodicTasks.digestEmails'))
{
$schedule
->shell('notify sendGoalReminders')
->daily();;
}
return $schedule;
?>
At this anchor: https://github.com/watchowl/cake-scheduler#after-a-job-is-finished, the description should say "after" instead of "before".
I'm watching this: https://github.com/lavary/crunz-ui
It would be a nice enhancement.
I'm using CakePhp 3.5.6 and installed this plugin with Composer.
I have added 'Plugin::load('Watchowl/CakeScheduler');' to my config/bootstrap.php file.
I get this error:
Error: The application is trying to load a file from the Watchowl/CakeScheduler plugin.
Make sure your plugin Watchowl/CakeScheduler is in the /var/www/intranet/cakephp/plugins/ directory and was loaded.
I have found the plugin in the 'vendor' folder, not 'plugins', where CakePhp is looking for it.
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.