Skip to content

Automatically running Airship

Carlos Liam edited this page Jun 4, 2015 · 9 revisions

This page describes various ways to automatically run Airship at different intervals in time.

Using cron (OS X and Linux)

You can schedule a cron job for running Airship on systems with cron installed.

In order to do this, copy-paste the following command into a terminal and run it, as the user which you want Airship to run on (not as root):

(crontab -l 2>/dev/null; echo "*/15 * * * * python" $(which airship) ) | crontab -

The */15 indicates how often we want to run Airship, in minutes. Note that your value must be divisible into 60; otherwise, it won't run when you expect. For example, if you'd like to run Airship every 5 minutes, replace */15 with */5.

Clone this wiki locally