Searched refs:cron (Results 1 – 15 of 15) sorted by relevance
34 $cron = CronExpression::factory('1 2-4 * 4,5,6 */3');35 $this->assertEquals('1', $cron->getExpression(CronExpression::MINUTE));36 $this->assertEquals('2-4', $cron->getExpression(CronExpression::HOUR));37 $this->assertEquals('*', $cron->getExpression(CronExpression::DAY));38 $this->assertEquals('4,5,6', $cron->getExpression(CronExpression::MONTH));39 $this->assertEquals('*/3', $cron->getExpression(CronExpression::WEEKDAY));40 $this->assertEquals('1 2-4 * 4,5,6 */3', $cron->getExpression());41 $this->assertEquals('1 2-4 * 4,5,6 */3', (string) $cron);42 $this->assertNull($cron->getExpression('foo'));45 $cron [all...]
4 [![Latest Stable Version](https://poser.pugx.org/mtdowling/cron-expression/v/stable.png)](https://packagist.org/packages/mtdowling/cron-expression) [![Total Downloads](https://poser.pugx.org/mtdowling/cron-expression/downloads.png)](https://packagist.org/packages/mtdowling/cron-expression) [![Build Status](https://secure.travis-ci.org/mtdowling/cron-expression.png)](http://travis-ci.org/mtdowling/cron-expression)6 The PHP cron expression parser can parse a CRON expression, determine if it is22 composer require mtdowling/cron-expression33 $cron = Cron\CronExpression::factory('@daily');34 $cron[all...]
35 - Fixes issue [#28](https://github.com/mtdowling/cron-expression/issues/28) where PHP increments of ranges were failing due to PHP casting hyphens to 036 - Only set default timezone if the given $currentTime is not a DateTime instance ([#34](https://github.com/mtdowling/cron-expression/issues/34))
34 4. To have your search results up-to-date, setup a cron job to44 script management and has a crontab setup that uses ''/etc/cron.*'' directories50 2. Copy the file from ''contrib/cron.daily/sphinx-rotate-grimore'' into the system folder51 at ''/etc/cron.daily/'' - the file must be edited to adjust the variable at the top of54 The file itself ''sphinx-rotate-grimore'' placed in cron.daily will ensure that your55 search is updated on a daily basis. Other candidates include other cron directories56 with self-explanatory names such as ''/etc/cron.hourly'', ''/etc/cron.monthly'', etc.61 ''chmod +x /etc/cron.daily/sphinx-rotate-grimore'').
19 $cron = CronExpression::factory($cronExpression);20 return $cron->getNextRunDate();22 throw new ExceptionBadSyntax("The cache frequency expression ($cronExpression) is not a valid cron expression. <a href=\"https://crontab.guru/\">Validate it on this website</a>");
27 $cron = $hlp->getConfig('use_cron'); variable28 if($cron === 0)
296 $cron = new plugin_siteexport_cli_cron(); variable297 if ( empty($cron->error) )299 $cron->run();307 {$cron->error}
135 …terminal or whatever) and cron access to your server, you can add the <code>cron.php</code> file t…
3 | cron |
36 function cron(&$event, $param) { function in action_plugin_poldek
104 "name": "dragonmantank/cron-expression",108 "url": "https://github.com/dragonmantank/cron-expression.git",113 "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/9504fa9ea681b586028adaaa0877db4aecf32bad",142 "cron",146 "source": "https://github.com/dragonmantank/cron-expression/tree/v1.2.0"
34 this is simple enough to do with a cron job. geoPlugin, on the other hand, is
1 …rectory undef');\n define('builtin', 'action augeas burst chain computer cron destination dport e…
1 …osen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup defin…
1 … cfdisk chgrp chmod chown chroot' +\n 'cksum clear cmp comm command cp cron crontab crypt cspli…