Jump to content

PHP Schedule


cb154

Recommended Posts

Hi,

This may be the wrong way to do things but I am fairly new to this. I have a mysql database which I store some jobs I run. I usually use schedule tasks for this but was wondering if I could do this more efficiently in PHP. I have a table with days of the week comma seperated and then a column with a time and then a column with the name of the job. I basically need something to kick off a job at a given time on a certain day. If someone can point me in the right direction it would be appreciated and I can usually crack on from there

Link to comment
Share on other sites

ok i know I am replying to my own thread but looking through the archives everyone is saying use the schedule task. no problem I have now written a php page to create the jobs in schedule task via the AT command. however I want to create the task as the windows logged in user not the NT/ADMINISTRATOR that the schedule task seems to adopt. I cannot see a /option for user in the AT function.

Link to comment
Share on other sites

I am not sure if I understand you, but with php and mysql, you could make a login form or anything alike and

By using an insert query you could add a new job.

ones your done with a select query you can ask for all rows from the database, with for instance the same client or any category you like.

 

But i don't know how familiar you are with this stuff.

 

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.