Jump to content
xisto Community
Sign in to follow this  
spy_charly

Cron Jobs? how does this feature work?

Recommended Posts

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

Share this post


Link to post
Share on other sites

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://forums.xisto.com/topic/6321-cron-jobs-cron-jobs-in-cpanel-cron-jobs-cron-jobs-using-php/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.