Skip to content
Snippets Groups Projects
Commit 71e0ae3b authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Move dir list to be checked to config file

parent 3634447a
No related branches found
No related tags found
4 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!78Feat cod rmq,!70Feat param dir verify
...@@ -6,9 +6,10 @@ import shutil ...@@ -6,9 +6,10 @@ import shutil
import rc_util import rc_util
from pathlib import Path from pathlib import Path
from rc_rmq import RCRMQ from rc_rmq import RCRMQ
import rabbit_config as rcfg
task = 'dir_verify' task = 'dir_verify'
dirs = ['/home', '/data/user', '/data/scratch'] dirs = rcfg.User_dirs
args = rc_util.get_args() args = rc_util.get_args()
logger = rc_util.get_logger(args) logger = rc_util.get_logger(args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment