Help with cronjob command line |
Hi all,
I am trying to run a controller that I have made for a test (to test cronjob) and I am just struggling at the command line. I have the following controller PHP Code: <?php and I have a Model that is PHP Code: <?php The example I was given for the cronjob was 0 13 * * * php [application_path]/index.php cli/reminders Which states that it will run at 1pm each day. So I set mine to run a few minutes after using the following. 24 16 * * * php /home/[account_name]/public_html/testing/index.php cli/reminders But all it did was run the main page of my site. Thing is I am using the system that it doesn't have the index.php show up when it comes to the pages. Can anyone help me with the command line to access this controller to run it please.? Thanks, Doomie |
Messages In This Thread |
Help with cronjob command line - by doomie22 - 07-17-2016, 08:36 AM
RE: Help with cronjob command line - by doomie22 - 07-17-2016, 09:39 AM
RE: Help with cronjob command line - by albertleao - 07-17-2016, 09:58 AM
RE: Help with cronjob command line - by doomie22 - 07-17-2016, 10:11 AM
RE: Help with cronjob command line - by arma7x - 07-17-2016, 10:28 AM
RE: Help with cronjob command line - by doomie22 - 07-17-2016, 04:08 PM
RE: Help with cronjob command line - by PaulD - 07-17-2016, 04:17 PM
RE: Help with cronjob command line - by doomie22 - 07-17-2016, 05:37 PM
RE: Help with cronjob command line - by PaulD - 07-17-2016, 05:56 PM
|