7.3.3. Schedulers
Schedulers are a specific functionality in the ERP connector. They are used to determine when and what data should be sent to/collected from a given provider.
Until now, the definition of when a given request should be sent to external systems was either fixed in the code or required adding additional fields in the admin panel configuration. This has been changed in the ERP connector. Some adjustments in the code are still required, but they can be made quickly and easily and are easy to further customize.
Â
This section is highly project-specific.
In a basic implementation, they allow defining when and to which connectors a given request should be sent.
Name: The name of the scheduler
Scheduler (cron syntax): Determines when a particular request should be sent
Order File Name: The name of the order export file (in the changed can be changed to anything else), uploaded will be uploaded to FTP / SFTP servers or sent as an attachment in the e-mail.
Connectors: Determines to which connectors request should be sent
Depending on your needs, an additional field may be added to allow you to select the structure of the data to be sent to a particular system or additional data validation.
For example, we can add a field where file format can be specified (this is useful when there are many files on an external server and only files with the right name should be downloaded).