Confirming cron command w/php & Sending Mail Via Cron
Posted: Tue Dec 05, 2006 11:16 pm
Hey,
When using a php page to be activated via cron, do I have to use any prefixes such as
-q or /path/to/php before the path to the file, such as
/path/to/php /home/public_html/wwwsite/cronpage.php ?
Also, if I were to use swiftmailer, or any mailer for batch email via cron, is it recommended to sleep 10-30 seconds
during each loop through a database record? Or should it sleep a minute+ before sending another batch? (for instance, up to 100 emails at a time
if the shared server allows it (mine allows 1k)
Thanks
When using a php page to be activated via cron, do I have to use any prefixes such as
-q or /path/to/php before the path to the file, such as
/path/to/php /home/public_html/wwwsite/cronpage.php ?
Also, if I were to use swiftmailer, or any mailer for batch email via cron, is it recommended to sleep 10-30 seconds
during each loop through a database record? Or should it sleep a minute+ before sending another batch? (for instance, up to 100 emails at a time
if the shared server allows it (mine allows 1k)
Thanks