Schedule contents with drupal 7


For decoupled Drupal Frontend, it is really a challage to Schedule your content by Scheduler Module cron. But Rules module makes it event easier and gives alot of possibilties to schedule your content even decouple drupal frontend.

Create Rule Action with hook_rules_action_info and do whatever in callback, for me I created json files for my decoupled frontend source.

Use this action to be triggered in Drupal Rule module when content is published or unpublished by scheduler cron... thats it :)