Basics
Schedule

You can run your command at a regular interval and/or a schedule defined with cron-style expressions like <number>,<number>,..., <start>-<end>, and */<interval>. * on empty fields is implied if any other cron field is set.

Daemon

If not scheduled, you can choose to run this other ways:

Saved plists may be stored indefinitely, and anyone with the link to one can read all of it including the command and environment below. Don't put passwords, API tokens, or other secrets here. Have your command read them from a file or the keychain instead.