composer install
php bin/console d:s:u --force
php bin/console doctrine:fixtures:load
php bin/console server:run
TODO
Add the following line to your crontab:
* * * * * php bin/console autobus:cron:run
To create a new job:
- Create it's class, implementing
Autobus\Bundle\BusBundle\Runner\RunnerInterface
; it may extendAutobus\Bundle\BusBundle\Runner\AbstractRunner
- Declare it as a service in your bundle's
services.yml
, with tagbus.runner
- Create an instance from the web UI
- PHP 7+