• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 551
  • Last Modified:

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?
0
kjenney
Asked:
kjenney
  • 4
  • 2
  • 2
1 Solution
 
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now