The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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]
     
  2. zex

    zex Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  3. carpman

    carpman Active Member

    Joined:
    Sep 12, 2001
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    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]
     
  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,475
    Likes Received:
    20
    Trophy Points:
    38
    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.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page