Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 811 Bytes

README.MD

File metadata and controls

22 lines (19 loc) · 811 Bytes

To run on Synology NAS on schedule

  1. Open control panel
  2. Switch to Advanced Mode
  3. Create new scheduled task
  4. Set task name and user
  5. Set schedule
  6. Set command to docker run --rm -i justinasb/skelbiu.lt:latest python ./script.py $USERNAME $PASSWORD in Task Settings by replacing $USERNAME and $PASSWORD with actual values

To run this on demand

docker build -t justinasb/skelbiu.lt:latest .
docker run --rm -it justinasb/skelbiu.lt:latest
docker run justinasb/skelbiu.lt:latest python ./script.py $USERNAME $PASSWORD