Hey all
I am in need of some help. I have the code that will update the database. What I need help with is that i need it to check for how many days or how many times to do it. I have different options
Daily,weekly,monthly, ect and I have defined in database the days ex where I may have it update 1 a day for 10 days
I am not sure how to write all this I am gonna have this in a cron job to run 1 time a day but dont need all accounts to update if its a weekly thing
Any help you can provide would be nice.
Don
If you are interested in working with me on this you can look on my profile on here and contact me.
Help with cron Job
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Help with cron Job
It sounds like you need a table of these sites that contains their update schedule. When you cron runs, it will check the table to see which sites need updating.
(#10850)