Drupal Module Cron

I've got a php script created that parses heavy amounts of data from various sites. I'm running Drupal 7 on my site and I'd like to setup the module so that certain parts of the script can be run periodically. Is this possible with poormanscron in Drupal 7?
LVL 1
kjenneyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
Where is this site hosted?  Your hosting company may be able to help you set up a CRON job.
0
kjenneyAuthor Commented:
I'm hosted on iPage. I've checked and they don't support Cron. Therefore I will need to use poormanscron instead. Does this use the same hooks?
0
Ray PaseurCommented:
Is iPage a Windows system?  You may be able to use the Task Scheduler.  (I couldn't tell you how; I do not know windows hosting very well).
0
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

kjenneyAuthor Commented:
iPage hosts on Linux. Please only comment unless it's regarding how to configure Drupal modules with poormanscron.
0
nanharbisonCommented:
The answer is no. Poor Man's cron has been incorporated into Drupal 7, and all you can do is run it. Have you looked at:
http://drupal.org/project/ultimate_cron
?
I have never used it though, it's usually so easy to do cron outside Drupal on the hosting.
0
kjenneyAuthor Commented:
Poormanscron has been integrated into Drupal 7. To run a script thru cron all you need to do is use hook_cron (myfunction_cron) and it will be run at the interval set in the admin settings.

http://drupal.org/cron
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nanharbisonCommented:
I thought you were a basic Drupal user, but obviously you are at a higher level.
0
kjenneyAuthor Commented:
Great resources at drupal.org.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Drupal

From novice to tech pro — start learning today.