| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Apr 2005
Posts: 394
![]() ![]() | 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 |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Feb 2004 Location: Student @ UConn
Posts: 411
![]() ![]() | 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 |
| |
| | #3 (permalink) |
| Pro Coder & Designer Join Date: Apr 2005 Location: Netherlands
Posts: 967
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 |
| |
![]() |
| 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 |