mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
Add task scheduling URLs
This commit is contained in:
parent
e6a6552c3c
commit
01705f5f68
@ -122,6 +122,18 @@ urlpatterns = [
|
||||
name='tasks',
|
||||
),
|
||||
|
||||
path(
|
||||
'task/<int:pk>/schedule/now',
|
||||
TasksView.as_view(),
|
||||
name='run-task',
|
||||
),
|
||||
|
||||
path(
|
||||
'task/<int:pk>/schedule/<int:timestamp>',
|
||||
TasksView.as_view(),
|
||||
name='schedule-task',
|
||||
),
|
||||
|
||||
path(
|
||||
'tasks-completed',
|
||||
CompletedTasksView.as_view(),
|
||||
|
Loading…
Reference in New Issue
Block a user