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

3. Cron Jobs (Task Scheduling)

Aaron Heidorn edited this page May 26, 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 it, follow this guide.

Auto Update Cache

Add 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 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

Clone this wiki locally