PHP code example of florianpalme / oxid-cronjobmanager
1. Go to this page and download the library: Download florianpalme/oxid-cronjobmanager library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
florianpalme / oxid-cronjobmanager example snippets
$aModule = [
/** Cronjobs */
'cronjobs' => [
'moduleid_cronjobid' => [
'fnc' => 'doMyJob',
'title' => [
'de' => 'My Job',
],
'crontab' => '* * * * *',
],
],
];
* * * * * php /pfad/zum/oxidshop/bin/cron.php