tags:

views:

77

answers:

1

Hi All,

I am new with cron job in php,basically i want to send email to user on certain time of period.i want to send email daily,weekly,monthly,quarterly,yearly,or specific amount of days.

In smarty template i want to use this type of function Can any body know how to do tihs?

+1  A: 

CRON is based on the server. You can't run CRON jobs from within PHP. You have actually run it on the server. If you have shared hosting or something, you can usually set up CRON jobs via the administrative control panel or something similar.

Foo
basically i want to send email to user on certain time of period.i want to send email daily,weekly,monthly,quarterly,yearly,or specific amount of days.how can i achieve in php?
Rajendra Banker
A CRON job is a perfect way to achieve this, but you can't do it using PHP.
Foo