The Birthdays module can (optionally) send "Happy birthday" mails to users on their birthdays. Currently we just have hook_cron(), checking if one day has passed since the last cron run and sending the mails. We're looking to use the Job Scheduler module to do this, instead.

Now, before I start integrating it, is there a way to #1364422: Allow Admin to Configure what time of day messages are sent?

CommentFileSizeAuthor
#3 ultimate_cron.png104.93 KBmanu manu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim’s picture

Presumably you'd use the crontab system in this module, and set it to run daily at the time you want messages to be sent.
Your job callback then does the task of finding out which user(s) to send a message to that day, if any.

Niklas Fiekas’s picture

Title: How can daily tasks be scheduled for a specific time of the day? » User interface for managing jobs
Component: Documentation » User interface
Category: support » feature

Ah, thanks! A generic UI would be awesome, so that the user can schedule jobs (the periodic crontab ones, maybe only when a marker is set) in a custom way.

manu manu’s picture

FileSize
104.93 KB

It may help you: I'm using Ultimate Cron to manage jobs and queues execution.

Attached a screenshot with a working example.

However, it would be very cool to have a GUI to see the Job Scheduler internal infos: what jobs are planned at what frequency...