Skip to main content
Participant
November 3, 2012
Question

RUNNING PHP SCRIPT WITH ZEND FRMWRK IN WINDOWS TASK SCHEDULER

  • November 3, 2012
  • 1 reply
  • 1462 views

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.

This topic has been closed for replies.

1 reply

Participating Frequently
November 4, 2012

Please show us the bat file or command line you have tried.

Participant
November 5, 2012

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.