SliTaz SliTaz Forum

You are not logged in.

#1 2011-04-01 18:56:21

Guest
Guest

crontab -e fails: "Received SIGHUP or SIGTERM"

I'd like to use cron, but I can' set it up.

The crond daemon is running. But when I'd like to edit my crontab with "crontab -e", it just gives me this error message always:

"Received SIGHUP or SIGTERM"

EDITOR variable is set to nano. Which runs without any problem, if I run it manually.

Does anyone have any idea? I did not find any familiar cases on the net.

Thanks for your help, in advance!

#2 2011-04-01 19:10:50

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: crontab -e fails: "Received SIGHUP or SIGTERM"

Which version of SliTaz are you using?

The crontab (and crond) is controlled by busybox, so it might be a issue with that.

Funny enough, if I run crontab -e, it opens up the crontab file with leafpad hmm

Offline

#3 2011-04-01 19:47:15

Guest
Guest

Re: crontab -e fails: "Received SIGHUP or SIGTERM"

It's the 3.0 version. (with busybox 1.12.0)

#4 2011-04-02 07:29:41

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: crontab -e fails: "Received SIGHUP or SIGTERM"

Hmmm, I get the same error if I set $EDITOR to nano and it completely freaks out if I set it to vi. Funny enough, it works fine for leafpad, beaver, geany or any graphical editor I set it to. This is really odd and possibly a bug in busybox since vi and nano is integrated into it too.

Offline

#5 2011-04-02 08:10:30

Guest
Guest

Re: crontab -e fails: "Received SIGHUP or SIGTERM"

Indeed, vi just screws the whole putty window. But my problem is that I can't use graphical programs, so leafpad is not an option for me sad Any other command line editor advises?

#6 2011-04-02 08:46:43

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: crontab -e fails: "Received SIGHUP or SIGTERM"

I found two. First is vim-tiny package which replaces the vi provided by busybox and the second is pico provided by the alpine package. The alpine package is smaller to install than vim-tiny and pico has a closer feel to nano than vi.

So go tazpkg get-install alpine then set it with EDITOR=pico ; export $EDITOR and try crontab -e again wink

EDIT: Or not... This is really annoying hmm - vi from vim-tiny seems to work, but it's vi so you have to use : type commands - if you've ever used v before that is.

Offline

#7 2011-04-02 08:51:57

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: crontab -e fails: "Received SIGHUP or SIGTERM"

I use mc (Midnight Commander) and mcedit without any problems - even tested with putty

Offline

#8 2011-04-02 10:59:11

Guest
Guest

Re: crontab -e fails: "Received SIGHUP or SIGTERM"

Ok, I give up.. I'll edit /var/spool/cron/crontabs/root it manually smile

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.030 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]