Page 1 of 1

Beggining with crons

Posted: 17 Apr 2012 19:22
by 20deoctubre
I'm new to OXE. The first thing that I have noted in here is the possibility to program crons which is a very interesting task.
I'm trying to write a simple cron just to make a new directory:

1.- > crontab -e (it opens the cron editor)
2. > 18 17 * * * mkdir usr4/BACKUP/test

The cron isn't working, the folder is not being created. I suspect that this is something related to permissions, but I'm not sure.
Am I doing something wrong?

A difference I have noted between OXE and Linux (Ubuntu) is that when you are programing a cron on Ubuntu you have to specify a user.

Well thanks for your time
Regards

Re: Beggining with crons

Posted: 30 May 2012 03:37
by Eliott
First must be run as root
Leading slash missing
mkdir /usr4/BACKUP/test