triggering php scripts using cron

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post by Pyrite »

Actually it might be php-win.exe, it's one of those two.
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

are you issuing that statement in your script or with the cron job? in either case, try using task scheduler, and reconfigure how windows controls when a file containing a php extension is executed.. only reason i say the task scheduler is cuz i didn't even end up using cron and is the only methond i know of that works. and just to add to feyd's response, this method did not open a dos window for me. merely it executed php.exe with the parameters i told it to.
Post Reply