Skip to content

Runs your Django management commands via crontab or onclick in admin site and gives you some success and log infos.

License

Notifications You must be signed in to change notification settings

kraiz/django-command-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

about

Runs your Django management commands via cron and gives you some success and log infos in admin.

features

  • Single entry in crontab that forks new processes for scheduled commands
  • Define which management command when to run via django admin
  • Logs success state, stdout and stderr into database log

setup

Install via pip:

pip install django-command-scheduler

Add to INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'command_scheduler',
)

Run migrate:

python manage.py migrate

Insert command a single line into crontab:

* * * * * /path/to/possibly/virtualenv/bin/python /path/to/manage.py runcommands

Now go to admin site and add commands!

todos

  • Tests (!)
  • Notentifications on error

license

MIT-License, see LICENSE file.

About

Runs your Django management commands via crontab or onclick in admin site and gives you some success and log infos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published