-
Notifications
You must be signed in to change notification settings - Fork 206
Running this script in production
gavin edited this page May 22, 2020
·
4 revisions
To run this script regularly you have the following options:
For Linux:
- Option 1. You can set a Cron job or something and call the main function using
python -c 'from erpnext_sync import main; main()'
- Option 2. You can set up 'push_to_erpnext.py' as a service using Systemd. Please refer to this link.
For Windows:
- Follow the second part of this repo's readme, after you have run the 'push_to_erpnext.py' at least once(i.e. setup is complete)