Dimitri
957f807598
Allow tasks to be scheduled on a specific cluster ( #555 )
...
* Allows schedule by cluster
* Update docs
* Add example in doc
* Fixes cluster field must be blank
* Adds cluster arg to schedule func
* Adds cluster field in list_display/filter for admin
* Uses Q filter to fetch schedule
* Fixes ref in doc
* Adds tests
2021-05-14 13:42:54 +02:00
Tim O'Meara
45b0b2cc27
add attempt_count to config docs, set value to 1 in inital task save
2020-08-11 10:42:28 -05:00
Ilan Steemers
d3ac0563f4
Adds validator migration
2020-07-02 18:09:01 +02:00
Ilan Steemers
1a1597c050
Adds cron migration
2020-06-28 17:14:20 +02:00
Bastien Vallet
e3560180af
[cleanup] Clean migrations
2020-06-10 12:01:07 +02:00
Bastien Vallet
ff4836fc7b
Add a missing migration
...
Required by django-picklefield major update
2020-06-10 11:06:13 +02:00
Will Gordon
c037f405de
Remove and replace task.id field, instead of Alter
2019-06-04 20:51:51 -04:00
Gaël Chardon
3d2099f48c
Use 32 bits integer for repeat field instead of small integer (16 bits) to avoid overflow with frequent scheduled tasks
2017-10-09 11:30:47 +02:00
Ilan Steemers
8f270a5b97
Allows for blank Schedule names in the admin
2016-02-24 11:27:16 +01:00
Ilan Steemers
2bffcf554b
Django ORM broker
2015-09-14 13:24:43 +02:00
Ilan
de5d0f2725
Adds a 'minutes' option to the scheduler
2015-08-05 20:30:29 +02:00
Ilan
f65c05624d
Schedule name and task group should have same max length
2015-07-18 22:32:32 +02:00
Ilan
c127604f10
Adds task groups
...
* task now takes an optional keyword `group`
* added result_group() and fetch_group()
* added group column to Success admin
* group column in searchable
* added `name` field to Schedules
* Scheduled tasks take schedule name as group
2015-07-18 17:20:50 +02:00
Ilan Steemers
2c58262b17
Meta option migration
2015-07-10 12:45:18 +02:00
Ilan Steemers
f30cf45641
Removing old migrations
2015-07-08 15:42:30 +02:00
Ilan Steemers
44c8edb0a2
Keep task length on schedule for backward compatibility
...
Migrations on existing data would fail because of the old names being longer than the uuid. Keeping the field length at 100 will keep it compatible with existing data.
Removed the squashed migrations cause this will cause dependency problems on existing installations. Every new migration will list the squashed migrations as a dependency. Not a problem for new installations, but will crash on exisitng ones.
2015-07-08 15:40:38 +02:00
Ilan Steemers
f8708cfd73
Task now uses a UUID4 instead of a LUID
2015-07-08 13:33:03 +02:00
Ilan Steemers
40721b681f
Added lastest migration
...
Made a squash
Next release will delete the old migrations
2015-07-07 21:00:30 +02:00
Ilan Steemers
8188893ff4
Schedule args and kwargs fields are now unlimited text fields.
2015-06-30 18:34:14 +02:00
Ilan Steemers
888a2a8062
migration updated for kwargs and args
2015-06-27 16:22:33 +02:00
Ilan Steemers
666bdc97dc
* updated README
...
* both func and hook check for callable.
2015-06-26 14:24:25 +02:00
Ilan Steemers
d06de5769b
added scheduled tasks with admin interface
2015-06-25 19:48:38 +02:00
Ilan Steemers
47de658be5
allow Null results
2015-06-24 22:13:29 +02:00
Ilan Steemers
0ed1da8f05
Refactoring to make testing more stable
2015-06-23 21:12:08 +02:00
Ilan Steemers
9f4e4d94e4
Added basic cluster stats
...
TODO add these to django admin
2015-06-20 15:00:40 +02:00
Ilan Steemers
5adf92eb27
hooks now work
...
refactored task as dict instead of list for readability.
2015-06-18 15:23:21 +02:00
Ilan Steemers
e473665760
Added admin pages for failures and success.
...
SAVE_LIMIT can now be set to limit the amount of saved tasks results.
2015-06-17 15:32:54 +02:00
Ilan Steemers
727a4d560d
migrations
2015-06-17 13:34:10 +02:00
Ilan Steemers
8c0a26e0b4
Testing basic layout
2015-06-15 16:02:50 +02:00