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

Discussion in 'General Discussion' started by chad101, Feb 10, 2009.

  1. chad101

    chad101 Active Member

    Joined:
    Jun 17, 2006
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    I switched to a FreeBSD server and i cannot get a cron job to run now. I'm trying to call a php script which clears a table in mysql. It worked like a charm on Centos

    I don't even get an email showing if an error has occured. Not sure what is going on.

    /var/cron/tabs/
    Code:
    # DO NOT EDIT THIS FILE - edit the master and reinstall.
    # (/usr/home/mythief/.crontab installed on Tue Feb 10 19:26:55 2009)
    # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v 1.22.2.1 2006/09/03 17:32:32 brooks Exp $)
    MAILTO="*******@gmail.com"
    1 0 * * * /usr/bin/php -q /home/mythief/public_html/voteflush.php 
    /var/log/cron/
    Code:
    Feb 10 19:02:02 server1 /usr/sbin/cron[795]: (mythief) RELOAD (tabs/mythief)
    Feb 10 19:02:07 server1 /usr/bin/crontab[61638]: (mythief) REPLACE (mythief)
    Feb 10 19:02:11 server1 /usr/bin/crontab[61644]: (mythief) LIST (mythief)
    Feb 10 19:02:11 server1 /usr/bin/crontab[61646]: (mythief) LIST (mythief)
    Feb 10 19:02:26 server1 /usr/bin/crontab[61658]: (mythief) LIST (mythief)
    Feb 10 19:02:26 server1 /usr/bin/crontab[61660]: (mythief) LIST (mythief)
    Feb 10 19:03:01 server1 /usr/sbin/cron[795]: (mythief) RELOAD (tabs/mythief)
    Feb 10 19:04:51 server1 /usr/bin/crontab[61946]: (mythief) REPLACE (mythief)
    Feb 10 19:05:02 server1 /usr/sbin/cron[795]: (mythief) RELOAD (tabs/mythief)
    Feb 10 19:05:02 server1 /usr/sbin/cron[61957]: (root) CMD (/usr/libexec/atrun)
    Feb 10 19:05:02 server1 /usr/sbin/cron[61958]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    Feb 10 19:10:02 server1 /usr/sbin/cron[62304]: (root) CMD (/usr/libexec/atrun)
    Feb 10 19:10:02 server1 /usr/sbin/cron[62305]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    Feb 10 19:11:01 server1 /usr/sbin/cron[62351]: (operator) CMD (/usr/libexec/save-entropy)
    Feb 10 19:15:01 server1 /usr/sbin/cron[62841]: (root) CMD (/usr/libexec/atrun)
    Feb 10 19:15:01 server1 /usr/sbin/cron[62842]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    Feb 10 19:15:01 server1 /usr/sbin/cron[62843]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1)
    Feb 10 19:19:34 server1 /usr/bin/crontab[63179]: (mythief) LIST (mythief)
    Feb 10 19:19:34 server1 /usr/bin/crontab[63181]: (mythief) LIST (mythief)
    Feb 10 19:20:01 server1 /usr/sbin/cron[63209]: (root) CMD (/usr/libexec/atrun)
    Feb 10 19:20:01 server1 /usr/sbin/cron[63210]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    PHP Version
    Code:
    [root@server1 ~]# php -v
    PHP 5.2.8 (cgi) (built: Jan 17 2009 22:45:48)
    Copyright (c) 1997-2008 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
     
    #1 chad101, Feb 10, 2009
    Last edited: Feb 10, 2009
  2. buddhakwee

    buddhakwee Registered

    Joined:
    Feb 14, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    :confused: I too need help to set up WP o matic :confused:
    when i set up the post will flood like 3 same post :mad::(
     
Loading...

Share This Page