This topic contains 2 replies, has 2 voices, and was last updated by abel 7 years, 9 months ago.
- Topic
Hi everyone, I had used Command to created a cron job. When I run it in with teminal, it’s work fine. But, after 30-40min, 1 error was occurred:
12[JMS\JobQueueBundle\Exception\InvalidStateTransitionException]The Job(id = 5939) cannot change from "failed" to "finished". Allowed transitions: #none#Some I got an error:
12[Symfony\Component\Process\Exception\ProcessTimedOutException]The process "'exec' 'php' '/var/www/html/poscrm/app/console' '--env=dev' 'jms-job-queue:mark-incomplete' '5435' '--env=dev' '--verbose'" exceeded the timeout of 60 seconds.When I clear cache and try again, it’s worked.
Someone can help?
———————————————–
P/s:
Questions marginalized: OroCRM provided class DateTime for get datetime, and option ‘now’ for get current date (today). Now, I want to get date yesterday. How can I perform that?
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.