NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Help with Cron Jobs

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 07-01-2005, 11:10 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Apr 2005
Posts: 394
flishess will become famous soon enoughflishess will become famous soon enough
 



Help with Cron Jobs


Hi -

????: NamePros.com http://www.namepros.com/programming/103498-help-with-cron-jobs.html
I need help setting up a cronjob -

This is what the directions say to do -

Create a cron job to ensure that the page cron.php gets executed periodically. This page will close auctions, notify bidders, etc. The following is a cron to run daily at 12:15 am. You can change this once your site has heavier traffic to run more often however to start with once a day is highly recemmended.

Using Cpanel, access cron jobs off the main page. There, click on Advanced (Unix Style), and enter your email address then enter the following information in the box's: (15) in first box, (0) in second, (*) in third, forth and fifth, (GET http://yourdomain.com/cron.php > /dev/null) in the text field.

15 0 * * * GET http://yourdomain.com/cron.php > /dev/null

In my Control Panel this is what I see -

Command to Run (What goes here)

Email Address Where the Cron Output Will be Sent (I understand this part)

And then there are 5 boxes to set (I understand this part)

Can anyone help?

Thanks
Drew
flishess is offline  
Old 07-01-2005, 11:32 PM   #2 (permalink)
NamePros Regular
Join Date: Feb 2004
Location: Student @ UConn
Posts: 411
gamex has a spectacular aura aboutgamex has a spectacular aura about
 



This looks like the directions for PHP Auction, anyways, check out this manual, it will tell you the command to put in depending on your server. Even if it isnt for phpauction, the command should be similar
????: NamePros.com http://www.namepros.com/showthread.php?t=103498

1. Go to http://www.phpauction.org/manuals/gpl_ins_ht/index.html

2. Click on 'Manual Installation'

3. Click on 'Manual Configurations'

You will then see this (you wont need to do the above if you understand this):

--- In Linux if you have PHP installed as a module, you can create a file /etc/cron.daily/phpauction.cron with these contents:


#!/bin/sh

lynx -dump /dev/null http://www.mydomain.com/phpauction/cron.php


--- If you have (or also have) PHP installed as a CGI you can substitute the lynx call above with the following:


PHP /absolute/path/to/cron.php

Of course the path to cron.php will depend on where you installed phpauction. Be sure to give cron.php permission to be executable.


--- In Windows, you can add a task manager job phpauc.job


C:\php\php.exe c:\myweb\htdocs\phpauction\cron.php
__________________
Joe
gamex is offline  
Old 07-02-2005, 03:38 AM   #3 (permalink)
Pro Coder & Designer
 
aween's Avatar
Join Date: Apr 2005
Location: Netherlands
Posts: 967
aween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really nice
 



if you are using cpanel. then you have the option between standard and advanced, if you do advanced you can copy and paste the code. if you to standard then you have to manually adjust the time.
__________________
aween web development
aween is offline  
Old 07-02-2005, 10:47 AM   #4 (permalink)
Account Closed
Join Date: May 2005
Location: NY, USA
Posts: 283
hasif has a spectacular aura abouthasif has a spectacular aura about
 



as you are beginned i will suggest you to use Standard option, that's the first i used, when i didn't understand anything about cronjob.
hasif is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
An Inspirational "Speech" From Steve Jobs Dave Zan The Break Room 1 06-16-2005 11:07 AM
Jobs, Job Search, Job Search Engine, Career Builder DomainForSale:JobSearchAgency.com Ferman Domains For Sale - Make Offer 0 02-07-2005 05:08 AM
Google PR4/10 + 50+ uniques per day gaming jobs domains Manu Domains For Sale - Make Offer 0 11-21-2004 09:03 PM
Casino Jobs Monsterman Domain Appraisals 6 06-30-2004 09:06 AM
free jobs and paying jobs polandsprings Web Development Wanted 1 09-15-2003 03:43 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 09:09 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger