coopcycle / coopcycle-web

Logistics & marketplace platform. Only for worker-owned business.
https://coopcycle.org
Other
564 stars 128 forks source link

DBSchenker sync seems blocked some days #4143

Closed r0xsh closed 6 months ago

r0xsh commented 6 months ago

It happers that the sync (import & export) is stuck some days. I suspect crontab setup

There is duplication of crontab jobs on deployements

00 07 * * * cd /var/www/demo/current && /usr/bin/php /var/www/demo/releases/7437e50f36af26a4e0a53e3489f935fddc71cb16/bin/console coopcycle:transporters:sync --no-interaction>
*/30 6-12,14-20 * * * cd /var/www/dinan/current && /usr/bin/php /var/www/dinan/releases/df77ac7c3887f7538bf7e47173cf778e6ec585bb/bin/console coopcycle:transporters:sync --no>
00 07 * * * cd /var/www/demo/current && /usr/bin/php /var/www/demo/releases/5e28995480f0ef865cd824cb50fe1faf6561902b/bin/console coopcycle:transporters:sync --no-interaction>
00 07 * * * cd /var/www/demo/current && /usr/bin/php /var/www/demo/releases/ff3f08185fcca99a8ff8abda50af3a794c90c84b/bin/console coopcycle:transporters:sync --no-interaction>
00 07 * * * cd /var/www/demo/current && /usr/bin/php /var/www/demo/releases/471cc8a98b7f347b2ac71ac07a9ceab2996f757c/bin/console coopcycle:transporters:sync --no-interaction>
00 07 * * * cd /var/www/demo/current && /usr/bin/php /var/www/demo/releases/ac28b1958b8969b73c4a9049100087454d4c2b6a/bin/console coopcycle:transporters:sync --no-interaction>
00 07 * * * cd /var/www/demo/current && /usr/bin/php /var/www/demo/releases/25800df3814fdef367fe050e67f23e436e221b28/bin/console coopcycle:transporters:sync --no-interaction>
*/30 6-12,14-20 * * * cd /var/www/dinan/current && /usr/bin/php /var/www/dinan/releases/25800df3814fdef367fe050e67f23e436e221b28/bin/console coopcycle:transporters:sync --no>
00 07 * * * cd /var/www/demo/current && /usr/bin/php /var/www/demo/releases/321d105493efa4a4f5499b602b4f797eff840f50/bin/console coopcycle:transporters:sync --no-interaction>
00 07 * * * cd /var/www/demo/current && /usr/bin/php /var/www/demo/releases/579b6e67a8e9e472fab0aca1769d7c578af12539/bin/console coopcycle:transporters:sync --no-interaction>
00 07 * * * cd /var/www/demo/current && /usr/bin/php /var/www/demo/releases/dbe34e1aa2719e5029aafc96a7edd4d464e2cc1c/bin/console coopcycle:transporters:sync --no-interaction>
r0xsh commented 6 months ago

I think i may found the issue: https://coopcycle.sentry.io/issues/5082807777