Hello Everybody,
I have a blank application which sends emails to users as daily tasks get updated in database. Whenever I run this application, it works good, sends email to defined recipients. I need to add job scheduler in my application so that this blank application will run everyday at specific scheduled time and sends updates of tasks to defined recipients group.
I thought calling the php file of application from php cli will be solution, but it is not working. Following command displays the output of my application which I need to run in order to send notification using scheduling jobs.
$php -r app_name/app_name.php
<html ....>
<....>
.............................
</....>
</html>
This is needed to run program from command line because in crontab file, we need to write commands which will run these jobs, which I already written in blank application.
Thank you for reply