-
Notifications
You must be signed in to change notification settings - Fork 243
Running this script in production
Karthikeyan S edited this page Dec 5, 2019
·
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 push_to_erpnext import main; print 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)