Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Update cron to run every hour. #10

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

steveworley
Copy link
Contributor

  • Changes root directory so working dir of the cron pod can change and cron will still execute.
  • Updates cron to run hourly.

- Changes root directory so working dir of the cron pod can change and cron will still execute.
- Updates cron to run hourly.
Copy link
Contributor

@stooit stooit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PaaS should use /app/docroot

schedule: "*/15 * * * *"
command: 'drush cron'
schedule: "0 * * * *"
command: 'drush cron --root=/app'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
command: 'drush cron --root=/app'
command: 'drush cron --root=/app/docroot'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants