Page 1 of 1

Php cron

Posted: Mon Dec 21, 2009 6:31 am
by asmaameercp
Hi all,
In my project i need to set a cron using php code.that means I want to delete some items dynamically and also send emails and all using cron.
I cant use the control panel cron setting.Any body have idea about php code cron please help me
Thank you

Re: Php cron

Posted: Mon Dec 21, 2009 9:05 am
by hero789
surely in order to use php and cron you need to create script to perform email which are run from the cron script at a certain time like every minute or so.

Php cron

Posted: Mon Dec 21, 2009 10:01 pm
by asmaameercp
Hi first of all thank you for giving me a fast reply.
Actually am the first time doing cron.How to set a cron?which php function is using for setup a cron?How to specify cron script file?
If you giving me a sample code,it will be more helpful to me
Thank you.