cfc603 / dj-tasks Goto Github PK
View Code? Open in Web Editor NEWA django app to run a collection of tasks in a management command.
License: MIT License
A django app to run a collection of tasks in a management command.
License: MIT License
Each task run has an entry in TaskRun
which, depending on the frequency of the app, could have thousands of past unneeded entries stored in the database.
Need to update run_tasks
command to automatically delete entries over a certain period of time. One thought would be to have DJTASKS_DELETE_INTERVAL
setting with expectation of int to translate to a number of days old. Default to 14 days.
Setting DJTASKS_SLEEP_INTERVAL
to 600 causes MySQLdb._exceptions.OperationalError: (2006, 'MySQL server has gone away')
on PythonAnywhere deployment.
Per docs at https://help.pythonanywhere.com/pages/ManagingDatabaseConnections/, a long running management command with five minutes or more between queries will cause this error due to the connection closing.
Need to close database connecting in between each run.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.