| | |
automated database script
Please support our Database Design advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Jul 2009
Posts: 13
Reputation:
Solved Threads: 0
Im not sure if this is the proper place to be posting this but...
I have a dedicated server that i would like to automatically run a script every 10 minutes/ half hour / any set period of time. I do not want to have to leave my personal computer running/ have a web page open. I was wondering if its possible to have my server run a "script" on its own every [set period of time].
I have a dedicated server that i would like to automatically run a script every 10 minutes/ half hour / any set period of time. I do not want to have to leave my personal computer running/ have a web page open. I was wondering if its possible to have my server run a "script" on its own every [set period of time].
•
•
Join Date: Jul 2009
Posts: 13
Reputation:
Solved Threads: 0
is this the kind of thing youre talking about? I don't really know much about servers or what job scheduling is, but this seems to be what youre talking about, let me know if this is completely off-base:
"
DBMS_JOB does this exactly.
In your case, it is very easy:
"
"
DBMS_JOB does this exactly.
sql Syntax (Toggle Plain Text)
SELECT TEXT FROM all_source WHERE name = 'DBMS_JOB' AND type = 'PACKAGE' ORDER BY line;
In your case, it is very easy:
sql Syntax (Toggle Plain Text)
DECLARE l_job number; BEGIN dbms_job.submit( l_job, 'abc;', trunc(SYSDATE)+4/24, 'trunc(sysdate)+1+4/24' ); END;
Last edited by peter_budo; Jul 30th, 2009 at 8:15 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Here is a link to an article on creating an event schedule in mysql, unfortunately I don't use mysql so it is the best I can do for you.
http://dev.mysql.com/tech-resources/...t-feature.html
If this doesn't work possibly you can use windows task scheduler to call the job.
http://dev.mysql.com/tech-resources/...t-feature.html
If this doesn't work possibly you can use windows task scheduler to call the job.
![]() |
Similar Threads
- Make an asp with database (access) (ASP)
- external database connection (MySQL)
- A script to write an email with a problem! (Shell Scripting)
- Web Directory - Arcade Games Site With 1800 Games - Funny Pictures Site & Many Others (Websites for Sale)
- SITE SALE: Myspace, Webmaster, Wallpapers, Articles, Fonts, Drinks & Many More (Websites for Sale)
- Automated FTP Sendmail Attempt (Perl)
- script problem adding to database (PHP)
- Book Database Script (Existing Scripts)
Other Threads in the Database Design Forum
- Previous Thread: Design Work Of college management
- Next Thread: Employee Salary
| Thread Tools | Search this Thread |





