Actually there are so many ways out there to do this thing, and probably are shorter, but I’ve built a script for my self to do that for me and is more clear to understand.
Note: The script works only with Drupal.
1. Create a file in /usr/local/bin/ called civicrmcron.sh
and add the following lines in it, edit the required fields and save it: Continue reading “CiviCRM, civimail cron job setup”