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