Hello KK,
I am trying to create a Cron job and decided to run a test using this:
It's however not working. Its only works when I remove the Couch management bit.
Can you please help me out what I could be doing wrong? Thank you
I am trying to create a Cron job and decided to run a test using this:
- Code: Select all
<?php require_once('kt-admin/cms.php'); ?>
<cms:php>
$msg = "This is a simple message";
$msg = wordwrap($msg,70);
mail("ampaw.boateng@adamsghana.com","My subject",$msg);
</cms:php>
<?php COUCH::invoke(); ?>
It's however not working. Its only works when I remove the Couch management bit.
- Code: Select all
<?php
$msg = "This is a simple message";
$msg = wordwrap($msg,70);
mail("ampaw.boateng@adamsghana.com","My subject",$msg);
?>
Can you please help me out what I could be doing wrong? Thank you