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

Some tasks run only with Run now, but not when Scheduled #372

Open
vinidade opened this issue Apr 4, 2018 · 6 comments
Open

Some tasks run only with Run now, but not when Scheduled #372

vinidade opened this issue Apr 4, 2018 · 6 comments

Comments

@vinidade
Copy link

vinidade commented Apr 4, 2018

Hello,

I'm facing a strange problem:

Some tasks don't run when they are scheduled. They get the status "died".
But when I enable the Run Now option and put these tasks to Run now, they are succesfully completed.

I'm running Magento 1.9.0.1 and AOEscheduler 1.3.

@vinidade
Copy link
Author

vinidade commented Apr 4, 2018

SOLUTION:

I've made a downgrade of PHP to version 5.6 and it worked fine.

Apparently, the scheduler of AOE coudn't find correctly the binary of PHP.

@m-overlund
Copy link

@vinidade what was the error message / stack trace of the tasks which died?
I have a similar issue right now

@AlessandroBraghini
Copy link

Hello, i am facing the same issue.
I have some tasks currently not running by schedule, they are always in status "died", with message "TRIGGER: Shutdown function", but if i run the same jobs with "run now" the are working.
Even if I run those jobs throught the CLI with the command "php scheduler.php -action runNow -code my_job_code", they runs correctly.
I already have PHP 5.6(.35).

Im running Magento 1.9.3.2 and AOEscheduler 1.5

@m-overlund
Copy link

@AlessandroBraghini Has it always run like that, or when did your issue start?

@AlessandroBraghini
Copy link

Hi @m-overlund , thanks for the reply!
It always run like that, I think it maybe can be caused by some misconfiguration in the environment, because in my local environment and in production environment it's working fine, the problem is occurring only in test environment.
I need to know at least, what causes the job to be set in status "died" (it's a AOE extension of core jobs statuses) and throws the message "TRIGGER:shutdown function", to be able to circumscribe the possible causes of the issue, because i'm getting no logs in Magento and no php errors.

@tobbecokta
Copy link

Hi @m-overlund , thanks for the reply!
It always run like that, I think it maybe can be caused by some misconfiguration in the environment, because in my local environment and in production environment it's working fine, the problem is occurring only in test environment.
I need to know at least, what causes the job to be set in status "died" (it's a AOE extension of core jobs statuses) and throws the message "TRIGGER:shutdown function", to be able to circumscribe the possible causes of the issue, because i'm getting no logs in Magento and no php errors.

Hi,

I am having the exact same issues as @AlessandroBraghini.
Does anyone have any suggestion or did you manage to sort it out yourself @AlessandroBraghini ?

I am also running PHP 5.7 and Magento 1.9.3.2.

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

4 participants