Cron Jobs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • batt255
    Corporal

    • Jan 2008
    • 17

    Cron Jobs

    I keep getting errors when I try to excute a cron job that I'm trying.the following code is:
    /home/username/public_html/admin/sitemonitor.php

    I don't want to put my username on this post. But I keep getting acess denied. looking at other posts i have this all wrong. I tried this: cd'/home/username/public_html/admin/'; php -q '.sitemonitor.php' > /dev/null ; but I get no such dir. please help...thanks
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: Cron Jobs

    Try deleting the dot " . " before "sitemonitor" . I believe taht this is your problem.

    cd'/home/username/public_html/admin/'; php -q 'sitemonitor.php' > /dev/null ;
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    Working...
    X