FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Cron





Billwaa
I am just wondeing how to set a cron on a file.

I need it to run this file every hour,

http://www.wazs.frih.net/RPG/cron/cron.php



However, when I mess around in the Admin panel thing, there is a place it siad "command: /home/billwaa/" I few in a bunch of stuffs, but it don't work...


pleaes help
wumingsden
Billwaa wrote:
I am just wondeing how to set a cron on a file.

I need it to run this file every hour,

http://www.wazs.frih.net/RPG/cron/cron.php



However, when I mess around in the Admin panel thing, there is a place it siad "command: /home/billwaa/" I few in a bunch of stuffs, but it don't work...


pleaes help


what was the exact location you tried ?

It should be something like command: /home/billwaa/domains/wazs.frih.net/public_html/RPG/cron/cron.php
Billwaa
I don't know why, still don't work. Wait, 1 question, am I allow to leave * in the fields I don't need?
wumingsden
Billwaa wrote:
I don't know why, still don't work. Wait, 1 question, am I allow to leave * in the fields I don't need?


Almost certainly not. I believe "*" denotes that the field is required. Fill in all "*" fields. Which field didn't you fill in out of curiosity?
Billwaa
all beside min.

Actually what I want it to do is to run that file every 15 min
wumingsden
Billwaa wrote:
all beside min.

Actually what I want it to do is to run that file every 15 min


I have never ever setup a cron job before but why not enter 15 in the minutes box so it will run every 15 minutes ?
Billwaa
I tried but it didn't work. What other other box? Leave them *?
wumingsden
Billwaa wrote:
I tried but it didn't work. What other other box? Leave them *?


all fields have to be filled in. When do you want the cron job to run ? Every 15 minutes ? every 15 minutes on a certain day ?
Billwaa
all days, all weeks, all months, just every 15 minutes.
wumingsden
Quote:
Minute 0-59 - */15

Hour 0-23 - 0-23

Day of Month 1-31 - 1-31

Month 1-12 - 1-12

Day of Week 0-7 (0 or 7 = Sunday) - 0-7

Command - /home/billwaa/domains/wazs.frih.net/public_html/RPG/cron/cron.php


I don't know anything about cron jobs but i think the stuff in bold is what you need to use. I think the settings mean that it will run every 15th minute, every hour, every day on every month. Note that this could all be wrong but no harm will be done if you try it.
Billwaa
ok, thx I will try. I tried something like that 5 min ago, but shorten the time to 1 min. Work, but not quite
Related topics
cron jobs
Using cron.
Cron
Cron Jobs and Php
Google Sitemaps and Cron
Cron Jobs
propos des cron jobs
Cron Folder Backup
Questions about cron jobs and permissions
[RESOLVED] cron jobs
Cron Job to Backup MySQL Database
cron job
Cron jobs
How to run a cron job on a server
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.