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
snapraid-runner configuration file not found
usage: snapraid-runner.py [-h] [-c CONFIG] [--no-scrub]
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --conf CONFIG
Configuration file (default: snapraid-runner.conf)
--no-scrub Do not scrub (overrides config)
~
I guess I have to add the configuration file somehow.
Thanks for the amazing script! :)
The text was updated successfully, but these errors were encountered:
I would guess you need to specify the location of your snapraid-runner config file (using the -c option) -- my /etc/crontab looks like this (slightly different than running it as a user cron):
Hi I am trying to figure out how to run this script on a cron job,
this is what I got so far
cron entry:
06 15 * * * /usr/bin/python3 /opt/snapraid-runner-0.4/snapraid-runner.py >> ~/cron.log 2>&1
what I get on the logs is this:
snapraid-runner configuration file not found
usage: snapraid-runner.py [-h] [-c CONFIG] [--no-scrub]
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --conf CONFIG
Configuration file (default: snapraid-runner.conf)
--no-scrub Do not scrub (overrides config)
~
I guess I have to add the configuration file somehow.
Thanks for the amazing script! :)
The text was updated successfully, but these errors were encountered: