|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
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
|
|||
|
|||
|
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.
|
|
#2
|
|||
|
|||
|
Message Moved
Thread moved from 'PHP Coding' to 'Server Administration' by tkarkkainen.
Reason: Fits here better |
|
#3
|
||||
|
||||
|
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'. |
|
#4
|
|||
|
|||
|
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 /> |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > CRON JOB |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|