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!

cron jobs not working

Discussion in 'General Discussion' started by carpman, Oct 25, 2001.

Thread Status:
Not open for further replies.
  1. carpman

    carpman Active Member

    Joined:
    Sep 12, 2001
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    306
    Hello, i setup a couple of cron jobs in cpanel but they don\'t seem to be working.

    I logged into consol as with account name and password and type crontab -e the cronjobs are there but i cannot seem to edit or get out of crontab, it is not the normal pico interface i get when i do crontab -e as su.

    How can i test cronjob working and get accounts other than su/root to use pico to edit cronjobs.

    I know the commands i need running are ok as they worked when run from consol

    [Edited on 10/25/01 by carpman]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. zex

    zex Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    306
    cPanel Access Level:
    Root Administrator
    [quote:73ca51c0b5] [/quote:73ca51c0b5]
    I logged into consol as with account name and password and type crontab -e the cronjobs are there but i cannot seem to edit or get out of crontab, it is not the normal pico interface i get when i do crontab -e as su.

    [quote:73ca51c0b5] [/quote:73ca51c0b5]
    You probobly got vi or some vi clone for EDITOR variable in shell.
    If you are using tcsh or csh you can setup pico for default editor with
    setenv EDITOR pico
    in bash use
    export EDITOR pico
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. carpman

    carpman Active Member

    Joined:
    Sep 12, 2001
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    306
    Thanks, if i type pico at the consol for user account then pico comes up so pico is working for that account, or are you saying that pico might no be associated to crontab for that account?
    If so how would associated pico with crontab?


    [quote:a8b5cad682] [quote:a8b5cad682] [/quote:a8b5cad682]
    I logged into consol as with account name and password and type crontab -e the cronjobs are there but i cannot seem to edit or get out of crontab, it is not the normal pico interface i get when i do crontab -e as su.

    [quote:a8b5cad682] [/quote:a8b5cad682]
    You probobly got vi or some vi clone for EDITOR variable in shell.
    If you are using tcsh or csh you can setup pico for default editor with
    setenv EDITOR pico
    in bash use
    export EDITOR pico
    [/quote:a8b5cad682]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. SACHIN

    SACHIN Guest

    cronjob status

    Hello,


    how to test cronjob is working or not?
    is there any script which will test cronjob for example sending the mail every 5 minutes so that we can check the crond status


    thank you,



    :confused:
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Don't dig up a 4 year old thread, please.

    You can check what cron jobs are running and when in /var/log/cron

    Closing this ancient thread now.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Thread Status:
Not open for further replies.

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