-
Notifications
You must be signed in to change notification settings - Fork 0
4.2 Cronjob
El Thoro edited this page Nov 10, 2024
·
2 revisions
If deleteInactivePollsAfter or deleteExpiredPollsAfter are enabled with a value > 0, inactive polls (inactive as in: no new answers and comments) or expired polls can be automatically deleted. PREFERendum comes with a cleanup function that you can set up to be executed periodically via a cronjob, e.g.
0 0 1 * * /usr/bin/php /var/www/html/preferendum/polls/cleanup
The cleanup script will then delete all inactive/expired polls that became too old.
If cronjob cannot be used, one can manually delete inactive/expired polls through the admin interface.