Hi all, I hope this is the right section for this.
I have setup a cron and I can see it firing/working.
cron
Code:
*/1 * * * * root /home/cron-add-user.sh
Here is what I am not getting...
I have a .sh file that works great if I use the terminal/command line.
But the
newusers command does not work when cron fires.
.sh
Code:
### Check for file #
if [ -f /tmp/new_user ]
then
### Create FTP User(s) #
echo `newusers /tmp/new_user`
...
..
.
i'm only posting the part with newusers, everything else works
Does anyone know why that is and how to get around it?
Thank you.