0

I have a requirement where I need to Update some fields in database on monthly basis, I know I can use Cron Jobs, But I don't have access to use Cron, So is there any other way doing this in PHP, MySQL, JQuery or any other ??

I just need to update & Insert some rows in Database Tables on the scheduled time Automatically.

1
  • Ask for Access OR manually run the script each month Commented Jun 5, 2012 at 5:48

2 Answers 2

1

If you have site or something else with regular visits you can check with each visit is it time to run you job or not. If I not mistake wordpress's jobs are working in this way.

Sign up to request clarification or add additional context in comments.

1 Comment

I was thinking of this, Coz I'm working on OSTicket, It uses the same thing. Thanks :)
0

Have you ever heard of MySQL Event Scheduler?

Info

Creating event

Do you have access to it? If you want to check whether event_scheduler is running you can type show processlist - there should be a process run by User 'event_scheduler'. If not you can always run it.

Of course the best way is to add event_scheduler = ON in mysql config file (in mysqld section).

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.