Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to schedule task in Django, without Celery

Im looking for relatively simple and lightweight way to setup primitive DB maintain tasks for Django-based web-site. Celery seems for me like overkill.
In my mind its now looking like making custom Django management command, and putting in in cron.
Maybe some could suggest better method?

like image 792
Gill Bates Avatar asked Jan 21 '26 22:01

Gill Bates


1 Answers

django-extensions has a jobs-scheduling function that would work well for DB maintenance tasks. You still would rely on cron entries to actually run them though.

But then again, just doing a management command from cron is perfectly reasonable.

like image 129
dgel Avatar answered Jan 24 '26 13:01

dgel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!