Fixes in mysql task

This commit is contained in:
Antonio de la Rosa 2022-04-26 01:02:51 +02:00
parent 57b1064734
commit d55faf6ddf
2 changed files with 6 additions and 2 deletions

View file

@ -105,6 +105,10 @@ if check_url.match(args.url_stats):
pt.mkdir(mode=0o755, parents=True, exist_ok=True)
shutil.chown('/home/'+args.user+'/'+args.path, args.user, args.user)
shutil.chown('/home/'+args.user+'/'+args.path+'/tasks', args.user, args.user)
# Create scripts pzoo
"""
ps=Path('/home/'+args.user+'/pzoo/scripts')