Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Crontab don't work

Discussion in 'General Discussion' started by sh4ka, Sep 17, 2005.

  1. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    444
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Uruguay
    cPanel Access Level:
    DataCenter Provider
    root@server [/]# crontab -e
    /bin/sh: line 1: pico: command not found
    crontab: "pico" exited with status 127

    There i'm trying to edit the crontab, but crontab is calling "pico" as the editor ..
    How can I fix this withouth installing pico ?

    thkz!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,742
    Likes Received:
    77
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    put a sym link for pico

    ln -s /usr/bin/nano /usr/bin/pico

    nano editor should be installed :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 dalem, Sep 17, 2005
    Last edited: Sep 17, 2005
  3. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    444
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Uruguay
    cPanel Access Level:
    DataCenter Provider
    works great ;)

    thank you!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. NetPublicist

    NetPublicist Well-Known Member

    Joined:
    Aug 19, 2003
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    156
    I fixed my by logging in as root and runnig the following command:

    export VISUAL='nano'

    Now when I use crontab -e it uses nano
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice