euscanwww: added fixture for periodic tasks
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
f7340bee43
commit
edf549bc40
89
euscanwww/djeuscan/fixtures/initial_data.json
Normal file
89
euscanwww/djeuscan/fixtures/initial_data.json
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"pk": 1,
|
||||||
|
"model": "djcelery.intervalschedule",
|
||||||
|
"fields": {
|
||||||
|
"every": 1,
|
||||||
|
"period": "minutes"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pk": 2,
|
||||||
|
"model": "djcelery.intervalschedule",
|
||||||
|
"fields": {
|
||||||
|
"every": 1,
|
||||||
|
"period": "days"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pk": 3,
|
||||||
|
"model": "djcelery.intervalschedule",
|
||||||
|
"fields": {
|
||||||
|
"every": 7,
|
||||||
|
"period": "days"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pk": 2,
|
||||||
|
"model": "djcelery.periodictask",
|
||||||
|
"fields": {
|
||||||
|
"task": "djeuscan.tasks.consume_refresh_package_request",
|
||||||
|
"name": "User refresh queries",
|
||||||
|
"exchange": null,
|
||||||
|
"last_run_at": null,
|
||||||
|
"args": "[]",
|
||||||
|
"enabled": true,
|
||||||
|
"routing_key": null,
|
||||||
|
"crontab": null,
|
||||||
|
"interval": 1,
|
||||||
|
"queue": null,
|
||||||
|
"total_run_count": 0,
|
||||||
|
"expires": null,
|
||||||
|
"kwargs": "{}",
|
||||||
|
"date_changed": "2012-07-21T07:55:54.716Z",
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pk": 3,
|
||||||
|
"model": "djcelery.periodictask",
|
||||||
|
"fields": {
|
||||||
|
"task": "djeuscan.tasks.update_portage",
|
||||||
|
"name": "Daily portage scan",
|
||||||
|
"exchange": null,
|
||||||
|
"last_run_at": null,
|
||||||
|
"args": "[]",
|
||||||
|
"enabled": true,
|
||||||
|
"routing_key": null,
|
||||||
|
"crontab": null,
|
||||||
|
"interval": 2,
|
||||||
|
"queue": null,
|
||||||
|
"total_run_count": 0,
|
||||||
|
"expires": null,
|
||||||
|
"kwargs": "{}",
|
||||||
|
"date_changed": "2012-07-21T07:56:25.235Z",
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pk": 4,
|
||||||
|
"model": "djcelery.periodictask",
|
||||||
|
"fields": {
|
||||||
|
"task": "djeuscan.tasks.update_upstream",
|
||||||
|
"name": "Weekly upstream update",
|
||||||
|
"exchange": null,
|
||||||
|
"last_run_at": null,
|
||||||
|
"args": "[]",
|
||||||
|
"enabled": true,
|
||||||
|
"routing_key": null,
|
||||||
|
"crontab": null,
|
||||||
|
"interval": 3,
|
||||||
|
"queue": null,
|
||||||
|
"total_run_count": 0,
|
||||||
|
"expires": null,
|
||||||
|
"kwargs": "{}",
|
||||||
|
"date_changed": "2012-07-21T07:56:53.470Z",
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user