Closed jadsy2107 closed 2 years ago
i fixed it, had to run compose require command in root of project
Now I have an issue with url cronJob .. its not working? Does it check server certificate ?
Now I have an issue with url cronJob .. its not working? Does it check server certificate ?
Again fixed the issue, my hosting server ca was not up to date. curl request was failing, fixed! Please close this issue, great project thank you.!
Ok, so far this is the only issue remaining which I think is a bug, The cronjob log shows duration of 3 minutes, when in fact it ran for 3 seconds, see below:
2022-06-13 16:45:01 | 2022-06-13 16:45:04 | 00:03:00
Set to log to database
Also, cronjob log 'output' field is always empty, even though my scheduled command returns data.
I followed your steps, namely:
Downloaded and unzip to ThirdParty/
the psr4 added:
'Daycry\CronJob' => APPPATH .'ThirdParty/cronjob/src'
But I get error when i run this command: php spark cronjob:list
Class 'Cron\CronExpression' not found
I had the same, you don't have to run the composer in the root, solution is to update ci4 to the latest version and make sure you overwrite your spark file
I recommended install this vendor with composer, because you need CronExpression library. Or install it manually downloading like cronjob vendor.
On Thu, 4 May 2023, 08:49 pietos, @.***> wrote:
I followed your steps, namely:
Downloaded and unzip to ThirdParty/
the psr4 added:
'Daycry\CronJob' => APPPATH .'ThirdParty/cronjob/src'
But I get error when i run this command: php spark cronjob:list
Class 'Cron\CronExpression' not found
I had the same, you don't have to run the composer in the root, solution is to update ci4 to the latest version and make sure you overwrite your spark file
— Reply to this email directly, view it on GitHub https://github.com/daycry/cronjob/issues/6#issuecomment-1534175473, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ5DP2EM3T6KNPZOFJW5N3XENGO7ANCNFSM5YS6VWQQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I followed your steps, namely:
Downloaded and unzip to ThirdParty/
the psr4 added:
But I get error when i run this command: php spark cronjob:list
Class 'Cron\CronExpression' not found