You are not logged in.

#1 2013-01-08 21:05:16

rado3105
Member
Registered: 2011-10-09
Posts: 103

crontab -e error: crontab: installing new crontab "/tmp/crontab.jnQaQB

crontab: installing new crontab
"/tmp/crontab.jnQaQB":2: bad minute
errors in crontab file, can't install.
Do you want to retry the same edit?

I have installed cronie. I changed vi for nano.
In terminal wrote as default user crontab -e. This opened me empty file, there I inserted this:
05 22 * * * /bin/tar czf /media/multimedia/dropbox`date +%d%m%y`.tar.gz
/media/multimedia/Dropbox/Dropbox/

but shows error, what is wrong, or how to edit it?

Offline

#2 2013-01-08 21:17:13

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: crontab -e error: crontab: installing new crontab "/tmp/crontab.jnQaQB

At the very least you will need to have the entry on one line.  To edit it just choose "y" when prompted.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2013-01-09 01:28:59

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,538

Re: crontab -e error: crontab: installing new crontab "/tmp/crontab.jnQaQB

Try changing 05 to 5

Offline

#4 2013-01-09 07:18:19

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: crontab -e error: crontab: installing new crontab "/tmp/crontab.jnQaQB

The error will persist as long as the command is on two lines.  The other changes can be applied once that is fixed.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2013-01-09 20:13:42

rado3105
Member
Registered: 2011-10-09
Posts: 103

Re: crontab -e error: crontab: installing new crontab "/tmp/crontab.jnQaQB

loafer wrote:

The error will persist as long as the command is on two lines.  The other changes can be applied once that is fixed.

yes this was the problem you are right, thanks a lot

Offline

Board footer

Powered by FluxBB