Copy link to clipboard
Copied
I have a PHP script which includes the Zend framework Mail.php for sending mails.
I am running a WAMP server and i used DW to create it.
I want to run my script in every 5 mins, How i can schedule it in Windows task scheduler.
I tried running a bat which contains the php.exe path and arguments as php file but it gives an error that zend/mail.php not found.
Please help its really urgent.
Copy link to clipboard
Copied
Please show us the bat file or command line you have tried.
Copy link to clipboard
Copied
Thanks for your response.
bat file has:
path of the php.exe -f path of php file.
But when it runs it gives an error that the zend framework file not found.
I have a seperate PHP includes folder under which zend FW is stored.
That folder is marked in includes_paths in php.ini.