MySQL Forums
Forum List  »  Events (Job Scheduler)

Re: how to create cronjob in windows with php and mysql
Posted by: Jas Bajwa
Date: January 02, 2009 12:13AM

Srinivas,

the best suggestion i can provide you is to dive your task into two as folows

1:- write a php file which performs the task of import , exprot or what ever interaction you want to perform. and make sure you can execute the php from command line. similiar to php phptaskname.php


2:- schedule the task in windows task manager, may be you want to create a bat file with the command line as in point #1 and task manager can call your batch file at the scheduled time.

thanks

http://www.jasbajwa.com
The man who makes no mistakes is the man who never does anything
-Theodore Roosevelt

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: how to create cronjob in windows with php and mysql
7885
January 02, 2009 12:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.