Results 1 to 5 of 5

Thread: cron jobs not working

  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    44

    Default cron jobs not working

    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]
    Thanks for your help

  2. #2
    zex
    zex is offline
    Member zex's Avatar
    Join Date
    Aug 2001
    Posts
    99

    Default

    [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
    Signed,
    Dzevad Hadzic

  3. #3
    Member
    Join Date
    Sep 2001
    Posts
    44

    Default

    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]
    Thanks for your help

  4. #4
    SACHIN
    Guest

    Question 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,




  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads

  1. Cron jobs are not working after moving to SuPHP
    By ukagg in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 11-29-2008, 08:42 AM
  2. Cron jobs in cPanel not working
    By footnet in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-02-2007, 04:27 PM
  3. cron jobs not working
    By InsaneSquirrel in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 12-16-2006, 01:36 AM
  4. Cron Jobs - Stopped Working
    By servmin in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 05-25-2005, 06:26 PM
  5. Cron Jobs -- not working anymore...?
    By OneSizeFitsAll in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 10-09-2003, 12:52 AM