I want to add cron jobs to my Drupal 7 system, but I cannot figure out how to do this. The examples I read on Google don't explain at all where to put your code. Do you need to make a module to use my_module_cron ()?
I have a block that uses some data received from a remote location. The cron task receiving this remote data is what I need to do. Can't I add my cron job to the code for my block?
Thanks in advance.
user328146
source share