I have a cron which I have written using django-cron:
from django_cron import CronJobBase, Schedule
class MyCronJob(CronJobBase):
RUN_EVERY_MINS = 1
schedule = Schedule(run_every_mins=RUN_EVERY_MINS)
code = 'statuscheck.my_cron_job'
def do(self):
print ("hello")
It works, as when the command python manage.py runcrons
is run twice in a row, only one output is provided unless the 1 minute has lapsed
My question is, how do i then schedule that command to be executed for example 3 times a week?
Thank you