I'm building a
hook_cron in my module but I actually don't want it to run at a maximum of once a day.
Is there a Drupal setting for this or do I need to check when the last cron was run and see if that was at least 24 hours ago? How do I do this?
I'm using drupal 7