CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Running MySQL procedure automatically

Print topic Send  topic

Author Message
Zulu


Posts: 33
Posted: 09/01/2004, 4:10 PM

Is it possible to run a mysql proc automatically at a specific time.

Say inserting some records from one table to another at 12:00:01 am everyday.
View profile  Send private message
Karsten


Posts: 57
Posted: 09/01/2004, 7:46 PM

Hi Zulu

what server do you use, what database
if you run linux you can use a cronjob calling cron.php for example
in the called cron.php you then write code as you want, for example :
inserting some records from one table to another at 12:00:01 am everyday.
_________________
If one gives up, he told himself he failed.
View profile  Send private message
Zulu


Posts: 33
Posted: 09/02/2004, 8:44 AM

I'm working on a Windows 2k and XP/MySQL/PHP environment. Is there any cronjob in these env?
View profile  Send private message
Karsten


Posts: 57
Posted: 09/03/2004, 1:06 AM

Yes you can, w2k has build in schedule features
look in your redmond help file :-)

things you have top do:

1. write a .php file with the commands/programm you want to run on a timed base

2. add the .php to the windows schedule manager

there are other ways it could be done, but as you sound the above will be challenge enough for you 8-)

_________________
If one gives up, he told himself he failed.
View profile  Send private message
Zulu


Posts: 33
Posted: 09/03/2004, 8:49 AM

Thanks, but I found a better solution. Cron for Windows. Thanks anyway.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.