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?
 
kjenneyConnect With a Mentor Author 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
 
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
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
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
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.