Add cron job for Drupal cron
This commit is contained in:
parent
cb99713cad
commit
9f721ef354
|
@ -22,3 +22,13 @@
|
|||
package:
|
||||
name: [curl, zip]
|
||||
state: present
|
||||
|
||||
- name: Add cron jobs
|
||||
cron:
|
||||
name: Drupal cron - oliverdavies.uk
|
||||
minute: '*/5'
|
||||
job: >
|
||||
{{ project_root_path }}/{{ ansistrano_current_dir }}/vendor/bin/drush core-cron
|
||||
--root={{ project_root_path }}/{{ ansistrano_current_dir }}/{{ project_web_dir }}
|
||||
--uri https://www.oliverdavies.uk
|
||||
--quiet
|
||||
|
|
Loading…
Reference in a new issue