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

Add schedule management commands #3237

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

SahilDhillon21
Copy link
Contributor

fixes #1899

I have added commands to execute other tasks hourly, daily, weekly and monthly

@JisanAR03
Copy link
Contributor

The scripts created in this PR (run_daily.py, run_hourly.py, run_monthly.py, run_weekly.py) are useful for scheduling tasks. However, these scripts alone do not handle the scheduling. The actual scheduling needs to be set up on the production server using a system scheduler like cron. Without this external setup, the scripts will not run automatically. do you have any other suggestion ?

@SahilDhillon21
Copy link
Contributor Author

Yes, you are right, these scripts do not automatically schedule the commands. I think the idea is that @DonnieBLT would schedule these tasks to be run hourly, monthly etc on the production server (we already have a scheduler there). So now, contributors can directly add the required tasks to these scripts since they do not have direct access to the scheduler

@DonnieBLT DonnieBLT merged commit e48b4ae into OWASP-BLT:main Jan 17, 2025
9 checks passed
@DonnieBLT
Copy link
Collaborator

Heroku has a scheduler plugin we use similar to cron

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