Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does repeat/every use a backslash instead of forwardslash? #2

Open
cole-ragingbits opened this issue Apr 20, 2015 · 1 comment
Open

Comments

@cole-ragingbits
Copy link

Why does repeat/every use a backslash instead of forwardslash? (This is different from default functionality of cron definitions)

list($repeat, $every) = explode('\\', $repeat, 2) + array(false, 1);

Also, lots of typos in comments/readme.

spyrospph added a commit to spyrospph/yii2-cronjobs that referenced this issue Jun 11, 2015
@Yiivgeny
Copy link

In original extension rules defined by method doc comments, e.g,

/**
@cron 10,25-30,40 *\2 15-21,23-27 1-6\2 *
*/

Forwardslash combined with asterisk is default php close comment syntax and cause parse error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants