OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add remark how to clear delayed jobs
Oliver Günther372f78dc7916
diff --git a/docs/development/development-environment-osx/README.md b/docs/development/development-environment-osx/README.mdindex 72ad1d2ab67..84d76cfd1c2 100644--- a/docs/development/development-environment-osx/README.md+++ b/docs/development/development-environment-osx/README.md@@ -242,6 +242,12 @@ RAILS_ENV=development bin/rails jobs:workThis will start a Delayed::Job worker to perform asynchronous jobs like sending emails.+**Note:** If you haven't run this command for a while, chances are that a lot of background jobs have queued up and might cause a significant amount of open tabs (due to the way we deliver mails with the letter_opener gem). To get rid of the jobs before starting the worker, use the following command. **This will remove all currently scheduled jobs, never use this in a production setting.**++```bash+RAILS_ENV=development bin/rails runner "Delayed::Job.delete_all"+```+## Start Codingdiff --git a/docs/development/development-environment-ubuntu/README.md b/docs/development/development-environment-ubuntu/README.mdindex 57bfc52a91e..28ef9c3a4e7 100644--- a/docs/development/development-environment-ubuntu/README.md+++ b/docs/development/development-environment-ubuntu/README.md@@ -293,6 +293,12 @@ RAILS_ENV=development bin/rails jobs:workThis will start a Delayed::Job worker to perform asynchronous jobs like sending emails.+**Note:** If you haven't run this command for a while, chances are that a lot of background jobs have queued up and might cause a significant amount of open tabs (due to the way we deliver mails with the letter_opener gem). To get rid of the jobs before starting the worker, use the following command. **This will remove all currently scheduled jobs, never use this in a production setting.**++```bash+RAILS_ENV=development bin/rails runner "Delayed::Job.delete_all"+```+## Start Coding