Re: cronproblem

<[email protected]>
Newsgroups gmane.linux.debian.user.swedish
Message-ID <20150327204542.15c5d9a6@igor>
On Fri, 27 Mar 2015 20:08:21 +0100 (CET)
Peter Krefting <[email protected]> wrote:

> [email protected]:
> 
> > Jag har editerat med "crontab -e" och lagt in "30 * * * * root 
> > touch /data/hejsan", men inget händer. Vad har jag missat?
> 
> crontab -e som vanlig användare? Då är det sjätte fältet kommandot
> som ska köras, dvs. du försöker köra
> 
>    root touch /data/hejsan
> 
> vilket jag misstänker inte fungerar så bra. Formatet med användar-id 
> används i /etc/cron.d
> 
> Dagens tips: Lägg till raden
> 
>    MAILTO=din@adress
> 
> överst i crontab-filen, så att status-meddelandet skickas till rätt 
> epostadress.
> 

Tack Peter.

/Janne
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.