How to run django custom management command using crontab?
I want to delete expired file every min I created command python manage.py delete which delete all expired files.
but crontab won't work, I don't know maybe I did something wrong.
here cronjobs in settings.py
CRONJOBS = [
('* * * * *', 'django.core.management.commands.delete'),
]
so how can I fix this?