Running this script in production - frappe/biometric-attendance-sync-tool GitHub Wiki
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)