You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--settings SETTINGS The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the
41
-
DJANGO_SETTINGS_MODULE environment variable will be used.
40
+
--settings SETTINGS The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used.
42
41
--pythonpath PYTHONPATH
43
42
A directory to add to the Python path, e.g. "/home/djangoprojects/myproject".
44
43
--traceback Raise on CommandError exceptions.
@@ -49,7 +48,7 @@ options:
49
48
50
49
51
50
52
-
## export
51
+
## `export` - Export scheduled tasks
53
52
54
53
Export all scheduled tasks from django db to json/yaml format.
55
54
@@ -62,7 +61,7 @@ Result should be (for json):
62
61
```json
63
62
[
64
63
{
65
-
"model": "ScheduledJob",
64
+
"model": "CronTaskType",
66
65
"name": "Scheduled Task 1",
67
66
"callable": "scheduler.tests.test_job",
68
67
"callable_args": [
@@ -83,7 +82,7 @@ Result should be (for json):
83
82
]
84
83
```
85
84
86
-
## import
85
+
## `import` - Import scheduled tasks
87
86
88
87
A json/yaml that was exported using the `export` command
--settings SETTINGS The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used.
149
+
--pythonpath PYTHONPATH
150
+
A directory to add to the Python path, e.g. "/home/djangoprojects/myproject".
151
+
--traceback Raise on CommandError exceptions.
152
+
--no-color Don't colorize the command output.
153
+
--force-color Force colorization of the command output.
0 commit comments