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
I have a custom script with a FileVar. This script takes quite a long time to run because it creates thousands of devices, so I'd like to do it in the CLI instead of web browser. I can't find the syntax for this. I've tried:
$ manage.py runscript --loglevel debug --data '{"csv_file": "/home/cfm_small.csv"}' cfm-test.ImportCFM
[2024-04-13 23:52:31,520][ERROR] - Data is not valid:
[2024-04-13 23:52:31,520][ERROR] - csv_file: This field is required.
Edit: I just realized running in the web browser works fine, since it continues running after I close the browser.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom script with a
FileVar
. This script takes quite a long time to run because it creates thousands of devices, so I'd like to do it in the CLI instead of web browser. I can't find the syntax for this. I've tried:Edit: I just realized running in the web browser works fine, since it continues running after I close the browser.
Beta Was this translation helpful? Give feedback.
All reactions