|
|
|
|
![]() ![]() |
Mar 15 2006, 12:56 AM
Post
#1
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 195 Joined: 18-November 05 Member No.: 14,521 |
hello guys! i was looking my cPanel and i was this feature Cron Jobs under Advanced Tools, my question is what kind of scripts it runs? could i run php code directly? or could i specify a php file to run ?
thanx in advance guys |
|
|
|
Mar 15 2006, 01:04 AM
Post
#2
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 183 Joined: 27-June 05 From: Minnesota Member No.: 8,734 |
Cron jobs usually are used to run a file containing a script. I was messing around with cron jobs awhile ago and found out that the php can only have php functions, it can't have any outputs or it doesn't work right.
So basically you specify a file that the php code is in and make sure it only has php stuff in it with no outputs like echo's or print's for more information on cron jobs, look here: http://www.trap17.com/forums/cron-jobs-cro...anel-t6321.html |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 6th October 2008 - 10:44 PM |