Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old October 25th, 2006, 06:19 AM
raji20 raji20 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 20 raji20 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CRON JOB

I want to make the script to run automatically everyday that checks for the new emails, if any new mails are there, it need to forward to the specified address. I need this to be via CRON JOB, how to do this, any help will be greatly appreciable.

Reply With Quote
  #2  
Old October 25th, 2006, 08:56 AM
System System is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 665 System User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Message Moved

Thread moved from 'PHP Coding' to 'Server Administration' by tkarkkainen.

Reason: Fits here better

Reply With Quote
  #3  
Old October 25th, 2006, 08:57 AM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,320 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 12288 Folding Title: Novice Folder
Time spent in forums: 6 Days 8 h 50 m 48 sec
Reputation Power: 4
RE: CRON JOB

I usually just edit the /etc/crontab file. Usually it's quite well commented so there shouldn't be a lot of problems.

If it's a PHP script you want to run, you need to have a CLI (command line interface) installation of PHP. Then the command you give to cron would be something like 'php /path/to/script.php'.

Reply With Quote
  #4  
Old January 17th, 2007, 05:05 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: CRON JOB

<br />
<b>Warning</b>: session_register() [<a
href='function.session-register'>function.session-register</a>]: Cannot send session cookie - headers
already sent in
<b>/home/campyca/public_html/includes/config1.inc.php</b> on line <b>168</b><br />
<br />
<b>Warning</b>: session_register() [<a
href='function.session-register'>function.session-register</a>]: Cannot send session cache limiter -
headers already sent (output started at
/home/campyca/public_html/includes/config1.inc.php:168) in
<b>/home/campyca/public_html/includes/config1.inc.php</b> on line <b>168</b><br />
<br />
<b>Warning</b>: Unknown(): Your script possibly relies on a session
side-effect which existed until PHP 4.2.3. Please be advised that the
session extension does not consider global variables as a source of data,
unless register_globals is enabled. You can disable this functionality
and this warning by setting session.bug_compat_42 or
session.bug_compat_warn to off, respectively. in <b>Unknown</b> on line <b>0</b><br />


Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > CRON JOB


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway