Skip to content

automation

eli fessler edited this page Apr 6, 2018 · 8 revisions

splatnet2statink may be configured to run automatically, either as a cron job or as a daemon.

cron

Running splatnet2statink with -r uploads any new, unuploaded battles since last run and exits. Schedule this to run at a regular interval or time of day. No more than 50 battles should be played in between runs to prevent loss of battle data.

See @fetus-hina's comment for more information.

Daemon

Running splatnet2statink with -M causes the script to constantly monitor for new battles in real time. The script runs until an interrupt signal (e.g. Ctrl+C) is received or an error occurs (e.g. connection problem, expired cookie).

See @emaame's guide for more information.

Clone this wiki locally