Page 1 of 1

Cron problem

Posted: Mon Nov 02, 2020 12:20 pm
by farzin12
hi there, first of all thanks for your greate work

i'm using a bash script to create new user

Code: Select all

v-add-user apiUser21 p@sSWorb

if i run this code by sh [] it'll work without any problem
but when running it through incron, the user wont be added to my users list only a folder with the name of user will be created on my "/" for example "/apiUser21" which is wrong, can anyone please help me ?
(my incron is working when i'm using linux base commands: rm, cp, mkdir, unzip...)