codeforcroatia / imamopravoznati

Provide a Freedom of Information request system for your jurisdiction
http://alaveteli.org
Other
3 stars 1 forks source link

Required crontab updates with v0.39.0.0 #99

Closed schlos closed 2 years ago

schlos commented 3 years ago

Expected Behavior

On enabling the survey, I realise now I forgot we need to enable the background job. We need to add some lines to the alaveteli user crontab.

From the example crontab https://github.com/mysociety/alaveteli/blob/dbaa3053ba4eec372da3c4e8f9f2794f15db7d39/config/crontab-example

We need to add the lines for:

Also there are Pro related jobs which should be added:

And for if you enable the POP poller:

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context

Your Environment

schlos commented 2 years ago

Crontab example: https://github.com/mysociety/alaveteli/blob/release/0.39.1.0/config/crontab-example

Instructions: https://alaveteli.org/docs/installing/cron_and_daemons/

Lines that were missing (and were added): https://github.com/mysociety/alaveteli/blob/release/0.39.1.0/config/crontab-example#L40 https://github.com/mysociety/alaveteli/blob/release/0.39.1.0/config/crontab-example#L48 https://github.com/mysociety/alaveteli/blob/release/0.39.1.0/config/crontab-example#L57 https://github.com/mysociety/alaveteli/blob/release/0.39.1.0/config/crontab-example#L58 https://github.com/mysociety/alaveteli/blob/release/0.39.1.0/config/crontab-example#L59 https://github.com/mysociety/alaveteli/blob/release/0.39.1.0/config/crontab-example#L60 https://github.com/mysociety/alaveteli/blob/release/0.39.1.0/config/crontab-example#L61