Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Cron jobs

  1. #1
    spikelee
    Guest

    Default Cron jobs

    ok some one i hope can help me with this i set up cron jobs look like this
    0 0 * * * php -q /home/<account name>/public_html/periodic/cmd.php but keep getting this error in my e-mail /bin/sh: line 1: 0: command not found can some one tell me what im doing wrong with setting up a cron job

  2. #2
    spikelee
    Guest

    Default

    "/home/<account info>/public_html/inc/header.inc.php"
    Thats what is in the files should be set right

  3. #3
    spikelee
    Guest

    Default

    ok i will try that i thought i tryed that once
    will try it again

  4. #4
    spikelee
    Guest

    Default

    right i just changed them will see if they work thanks
    This is the 3 crons i have set up
    0 0 * * * php -q /home/user/public_html/periodic/cmd.php
    */10 * * * * php -q /home/user/public_html/periodic/notifies.php
    # */15 * * * * php -q /home/user/public_html/periodic/imcron.php
    and the files i have
    "../inc/header.inc.php"
    so if this is right it all should work fine

  5. #5
    spikelee
    Guest

    Default

    the user i just repaced with the user accounts name i run cpanel so i don't know what u run

  6. #6
    spikelee
    Guest

    Default

    l thanks for the help will this work with cuped mail to cuz i know that never sends out

  7. #7
    spikelee
    Guest

    Default

    that always worked i never had a prob with it sending a e-mail saying some one joined

  8. #8
    spikelee
    Guest

    Default

    good thought something was not right again lol

  9. #9
    spikelee
    Guest

    Default

    ok i have every thing set like u said but this is the e-mail i gett in the error
    From: "Cron Daemon" <root@server.mysite.com> Add to Address BookAdd to Address Book Add Mobile Alert
    To: jffstnzl2003@yahoo.com
    Subject: Cron <user@server> 0 0 * * * php -q /home/username/public_html/periodic/cmd.php
    Date: Sun, 08 Jan 2006 03:20:01 -0800

    /bin/sh: line 1: 0: command not found
    And
    From: "Cron Daemon" <root@server.my site.com> Add to Address BookAdd to Address Book Add Mobile Alert
    To: jffstnzl2003@yahoo.com
    Subject: Cron <mine@server> */10 * * * * php -q /home/user/public_html/periodic/notifies.php
    Date: Sun, 08 Jan 2006 03:20:01 -0800

    /bin/sh: line 1: */10: No such file or directory

    any ideal on how to fix this

  10. #10
    spikelee
    Guest

    Default

    i changes the user and what not but the but this is what i get

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. help on cron jobs
    By james@ff in forum Security / Server Administration
    Replies: 2
    Last Post: 09-29-2008, 08:58 AM
  2. Cron Jobs
    By swapcouple in forum General Issues, Comments, Questions
    Replies: 3
    Last Post: 06-04-2007, 02:03 AM
  3. what the#@% cron jobs
    By chatpilekid in forum FAQ & HOWTO
    Replies: 13
    Last Post: 01-31-2007, 02:50 AM
  4. Cron Jobs
    By Ringodestarr in forum General Issues, Comments, Questions
    Replies: 8
    Last Post: 11-08-2006, 04:04 PM
  5. Do I really need Cron jobs ?
    By dalem in forum Bugs Dolphin v.5.3.0
    Replies: 2
    Last Post: 10-27-2006, 07:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •