Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

3. Cron Jobs (Task Scheduling)

Tim Davis edited this page Dec 8, 2017 · 3 revisions

Some features of AmSYS are best run periodically. Instead of manually doing this, you can schedule these tasks to run using cron. If you're unfamiliar with how to use cron, follow this guide.


Auto Update Cache

Add a Cron Job to re-pull cached prices every 15 minutes.

  1. crontab -e
  2. */15 * * * * php /var/www/html/amsys/app/console amsys:cache:update

Auto Update Contacts

Add a Cron Job to check a provided API for new personal/corp/alliance contacts (used for authorization) every 30 minutes

  1. crontab -e
  2. */30 * * * * /Library/webserver/documents/amsys/app/console amsys:cron:run contacts

The next step is to set up Branding) to make the application show your information.

Clone this wiki locally