wallapop-cli

Scheduling checks

Keep watches running after you close the terminal.

A watch only produces events when something runs watch check. To have that happen on its own, install a scheduler entry.

wallapop watch service install --interval 15m
wallapop watch service status
wallapop watch service uninstall

Writes a systemd user service and timer running wallapop watch check --all for the profile you installed from.

Install also runs loginctl enable-linger. Without it a user timer stops when you log out and does not come back at boot, which is exactly the failure you would not notice.

systemctl --user list-timers | grep wallapop

Status

  • not installed when the unit files are missing
  • active, inactive or failed on systemd. systemctl --user reports unknown when it is not available, plus a warning suffix when the timer is not enabled or linger is off
  • loaded or not loaded on launchd

systemd also reports the last trigger time as last_run. wallapop doctor shows the same state, so one command tells you whether scheduling works.

The log

Scheduled output is appended to:

$XDG_STATE_HOME/wallapop-cli/wallapop-watch-<profile>.log

watch check rotates the log to .log.1 once it passes 1 MiB. The log stays within two files of about that size. uninstall removes the units and the log.

On this page