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

Cront job cannot run: the task did not run due to one of the constraints in the task definition #8794

Closed
chuotnhat1985 opened this issue Sep 15, 2015 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@chuotnhat1985
Copy link

Dear,

I'm setting up cron job for archive piwik data. our Piwik website is using SSL. Cron job was ok long time ago. But after updating to 2.15.0-b7, cron job is alway getting error "Task Scheduler failed to start "\Piwik Auto Archiving" task for user "xyz". Additional Data: Error Value: 2147750692."

How to fix it. Please help me.

@triffic-tang
Copy link

Maybe you can show us the Cron job instruction?

@chuotnhat1985
Copy link
Author

2015-09-17 11_20_46-58 86 55 55 - remote desktop connection manager v2 7

Hi,

This is message when windows schedule auto run. But it is ok when I run manual. Schedule will run every 30 minutes.

And this is my command

"php.exe "E:\www\Piwik\Web\console" core:archive --url=https://abc.com/ --accept-invalid-ssl-certificate"

@triffic-tang
Copy link

Check php.exe path?

@mattab mattab changed the title Cront job cannot run Cront job cannot run: the task did not run due to one of the constraints in the task definition Sep 20, 2015
@mattab
Copy link
Member

mattab commented Sep 20, 2015

This error seems to be explained by a few reasons, check out: http://superuser.com/questions/225154/scheduled-task-giving-last-run-result-0x80041324

@mattab mattab closed this as completed Sep 20, 2015
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Sep 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants