for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class UpdateSilverStripeVersionsCron implements CronTask
{
/**
* Run hourly, on the 20min mark
*
* @return string
*/
public function getSchedule()
return "20 * * * *";
}
* Run the build task UpdateSilverStripeVersionsTask
* @return void
public function process() {
$task = Injector::inst()->get('UpdateSilverStripeVersionsTask');
$task->run(new SS_HTTPRequest('GET', '/'));