On Thu, Aug 15, 2013 at 12:35 PM, Siva prabu <[email protected]> wrote:

>
> How to send email  for daily @  12:10 AM  automatically with attachment..
> using PHP?
>
> Only in core coding no hosting cron jobs....
>

PHP scripts run only when a user accesses a particular url which is routed
to the relevant script. This being the case you cannot schedule actions as
part of your web app*. You'll have to write a scheduler in PHP (aka
reinvent cron) and run it as part of your system init scripts!! So, IMO
cron is the way to go.

* unless you have another app that will ping the url at 12:10AM every day
using cron :-P

 regds,
mano

-- 
Lord, give us the wisdom to utter words that are gentle and tender, for
tomorrow we may have to eat them.
    -Sen. Morris Udall
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to