tags:

views:

89

answers:

3

hi!

i wanna create a cron job which has to execute a file every 30 minutes. I don't have a cpanel or any frontend to do that :( how do i do it?

+5  A: 

You can't. This is an OS level function not PHP level. Best bet is to email your host and ask them if it's possible to setup a cron for you.

Andrew G. Johnson
But, i think it can be done byhttp://joomlapanel.com/joomla-article/joomla-tutorial/258-setup-cron-job-for-your-joomla-site.htmlcorrect me if i'm wrong, please.
Sam
@Sam Read further. It tells you how to set up Joomla's cron on the OS level, but you still need OS-level access to do so.
ceejayoz
@Sam - that article specifically mentions that you may have to have your server hosts set up crons for you. It all depends on your hosting plan and what tools you have.
zombat
A: 

This may help:

http://www.bitfolge.de/?l=en&s=pseudocron

Andy
@Andy Neat project, thanks!
Kristopher Ives
A: 

If the user as whom the webserver runs is allowed to have cron jobs, and the system is correcty set up, then its simply a matter of executing the cron program (popen, exec, system....etc) and feeding it an appropirate input file. However on any sensibly configured, internet connected webserver, the httpd user will NOT be allowed to run cron jobs.

There are tools like pseudocron but be careful.

C.

symcbean