2 Commits

Author SHA1 Message Date
9b2a8e1585
Better cli interface
* [Feature] --reset-all command can be used to reset entire job subsystem.
* [Feature] Add export event to cli jobs.
* [Improvement] CLI component can handle more types of errors now.
* [Improvement] Shutdown handler for resetting execution locks.
* [UX] Added warning notice to the CLI help.
* [Fix] Suppress undefined index notice.
* [Fix] Added export job into CLI jobs list.
2020-04-30 14:41:09 +03:00
1be638a970
proper cron & cli support, separated logs for different execution contexts (#65)
* proper cron & cli support, separated logs for separate execution contexts
* different job-scope locks for cli and manager
* proper signal handling pass
* add proper cli path
* trick prestashop into thinking that we're calling getProducts from back office
* create order on edit if it's not present in retailCRM
* prevent discount to be higher than total
* fix for striped logging
2020-04-23 15:49:29 +03:00