Subject | Re: [firebird-support] Firebird to periodically execute a stored procedure |
---|---|
Author | Anderson Farias |
Post date | 2008-07-11T00:06:51Z |
Hi,
to periodicaly run ISQL, ex:
create some SQL script like, proc.sql:
execute procedure some_proc;
commit;
Use Windows Task Scheduler to schedule a task like:
isql servername:dbname -i proc.sql -user <user> -pass <pass>
(you may use a .bat script for that)
Regards,
Anderson Farias
> I am using FB 2.1 Superserver on the Windows platform. I am trying toAn option is to use ISQL to execute an SQL script and Windows Task Scheduler
> find the most elegant way to get the Firebird server to periodically
> run a stored procedure (e.g every hour). I don't want to rely on any
> external application to periodically invoke the stored procedure.
to periodicaly run ISQL, ex:
create some SQL script like, proc.sql:
execute procedure some_proc;
commit;
Use Windows Task Scheduler to schedule a task like:
isql servername:dbname -i proc.sql -user <user> -pass <pass>
(you may use a .bat script for that)
Regards,
Anderson Farias