Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.34 KB

schedule_it.md

File metadata and controls

52 lines (32 loc) · 1.34 KB

Run grabbit on a schedule

MacOS Homebrew

brew services start grabbit

This runs when started and every Monday at 10AM.

See brew services --help for more info

Mac (launchd directly)

Copy the plist stuff from ./.goreleaser.yml to a file named ~/Library/LaunchAgents/com.bbkane.grabbit.plist and change the following:

  • #{plist_name} -> com.bbkane.grabbit
  • >#{opt_bin}/grabbit -> full path to grabbit binary

Turn it on with:

launchctl load -w ~/Library/LaunchAgents/com.bbkane.grabbit.plist

See the following links to read up on launchd or generate plist files:

This runs when started and every Monday at 10AM

Linux with systemd

See the following links to read up on systemd or generate timers

Mac or Linux with crond

See the following links to read up crond or generate entries:

Windows

I don't regularly use Windows so I can't really help here. If you have a nice way to schedule grabbit on Windows, I'd appreciate a Pull Request updating this section