Beggining with crons

Post Reply
20deoctubre

Beggining with crons

Post 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
User avatar
Eliott
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 640
Joined: 10 Feb 2010 03:43

Re: Beggining with crons

Post by Eliott »

First must be run as root
Leading slash missing
mkdir /usr4/BACKUP/test
Post Reply

Return to “Beginner's questions about the Common Hardware”