Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boards will not be deleted by cron, how can I delete a board? #452

Closed
quelo1972 opened this issue May 11, 2018 · 9 comments
Closed

Boards will not be deleted by cron, how can I delete a board? #452

quelo1972 opened this issue May 11, 2018 · 9 comments

Comments

@quelo1972
Copy link

quelo1972 commented May 11, 2018

When I delete a board the board will not be deleted at next cron job run.
How can I delete a board?
I run nextcloud 13.0.2

@juliushaertl
Copy link
Member

Can you check the log files for anything deck related? Also how did you setup cron jobs to be run?

@quelo1972
Copy link
Author

It's better if you can tell me how to setup correctly the cron job to do this task, because I can't found any documentation in the deck project.
Thanks.

@juliushaertl
Copy link
Member

There is no need for a separate setup, just make sure your Nextcloud cron job is running properly. The deck app has a background job registered that will delete the boards after some time if the normal Nextcloud cron job is running.

@quelo1972
Copy link
Author

For me doesn't work the board remain!

@quelo1972
Copy link
Author

quelo1972 commented May 11, 2018

Where is the internal task of deck, how can I verify if the nextcloud cron job is working?
I have installed nextcloud from scratch without snap.

@juliushaertl
Copy link
Member

@quelo1972 You can find documentation about that here: https://docs.nextcloud.com/server/13/admin_manual/configuration_server/background_jobs_configuration.html

You can also enable debug mode in your config and check the Nextcloud log for entries like:

Run OCA\Deck\Cron\DeleteCron job with ID 1080

@quelo1972
Copy link
Author

The debug mode is enabled
cattura
But searching for a string "OCA\Deck" without " doesn't sort anything.

@juliushaertl
Copy link
Member

Debug mode needs to be enabled in config.php as well, the one in the UI is just to filter the log messages.

@quelo1972
Copy link
Author

I followed the guide, I added a cron job

# crontab -u www-data -e
*/15  *  *  *  * php -f /var/www/nextcloud/cron.php

Every 15 mins the "market to deletion" board are deleted.

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

No branches or pull requests

2 participants