Jun-08-2022, 10:30 AM
I have implemented a Django cron functionality.I defined the time interval in settings.py file like
So it will be dynamic time.
so what change should i make in settings.py file to get a dynamic input
CRONJOBS = [ ('*/1 * * * *', 'sampleapp.cron.scheduled_job') ]But this project will be linked with UI .The requirement is that the user will set a future time for cron activity from the screen and we will be saving it in DB. So we hav to pick that time and run the job.
So it will be dynamic time.
so what change should i make in settings.py file to get a dynamic input