Jump to content

Need a recommendation for scheduling scripts


FlashbackJon

Recommended Posts

My virtual host is running MySQL 4.0.25, and I do most of my database work via phpMyAdmin 2.6.4-pl4.

 

I want to be able to schedule queries or scripts to run nightly at a specified time, and I don't think phpMyAdmin can do that.  I've found a couple free schedulers online, but they look a little shoddy.

 

Can anyone recommend something for scheduling SQL queries?

Link to comment
Share on other sites

Hrm.  I like this cron.

 

Okay, let's step back and pretend I'm more noobish than I let on.  Let's also pretend that my server control panel is a quite a bit less than decent (although I'll be remedying this shortly).

 

It appears from the table listing in phpMyAdmin that my forum (vBulletin) is using cron for its scheduled tasks (upon noticing the "cron" and "cronlog" tables.  Upon further inspection, I can add my own scheduled tasks by way of vBulletin's admin panel, and it appears as though I can simply specify a PHP script to run.

 

In theory, I could hijack my own forum software to run scheduled scripts for whatever else I wanted in the same database... ...right?

Link to comment
Share on other sites

In theory, I could hijack my own forum software to run scheduled scripts for whatever else I wanted in the same database... ...right?

Possibly. There might be some permissions issues, i.e. you can't play outside the VBulletin sandbox.  Easily resolved by giving it a try :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.