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

Scheduler not working error with CronExpression.php #4202

Open
kgoyat opened this issue May 24, 2024 · 0 comments
Open

Scheduler not working error with CronExpression.php #4202

kgoyat opened this issue May 24, 2024 · 0 comments

Comments

@kgoyat
Copy link

kgoyat commented May 24, 2024

Steps to reproduce

N/A

Expected behaviour

Scheduler processing tasks

Actual behaviour

Scheduler not processing task

Server configuration

Debian 12.5

PHP 8.2.7

Database:

10.11.6-MariaDB-0+deb12u1 Debian 12

Teampass version: 3.1.2.45

/var/www/html/teampass/scripts# /usr/bin/php /var/www/html/teampass/sources/scheduler.php
PHP Fatal error: Uncaught InvalidArgumentException: Invalid CRON field value */0 at position 0 in /var/www/html/teampass/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php:241
Stack trace:
#0 /var/www/html/teampass/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php(222): Cron\CronExpression->setPart()
#1 /var/www/html/teampass/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php(188): Cron\CronExpression->setExpression()
#2 /var/www/html/teampass/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php(154): Cron\CronExpression->__construct()
#3 /var/www/html/teampass/vendor/peppeocchi/php-cron-scheduler/src/GO/Traits/Interval.php(17): Cron\CronExpression::factory()
#4 /var/www/html/teampass/vendor/peppeocchi/php-cron-scheduler/src/GO/Traits/Interval.php(54): GO\Job->at()
#5 /var/www/html/teampass/sources/scheduler.php(47): GO\Job->everyMinute()
#6 {main}
thrown in /var/www/html/teampass/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php on line 241

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

1 participant