Submitting a form with a cron job? |
Hey fellas, its me again.
I'm trying to write a cron job for my codeigniter app, but I have now idea where to start. So far, I created a controller called 'cron' with the following: PHP Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); My cron job has to submit form data in a view, and I thought this would help, but I don't think it will work. I can't find any resources online for making cron jobs in codeigniter, so am I on the right track? I know that I need to execute the cron job file itself with a command (I found help here for that), but this is as far as I have gotten. Please help! |
Messages In This Thread |
Submitting a form with a cron job? - by SmokeyCharizard - 03-26-2020, 12:50 PM
RE: Submitting a form with a cron job? - by includebeer - 03-26-2020, 02:15 PM
RE: Submitting a form with a cron job? - by SmokeyCharizard - 03-26-2020, 02:18 PM
RE: Submitting a form with a cron job? - by includebeer - 03-26-2020, 02:25 PM
RE: Submitting a form with a cron job? - by SmokeyCharizard - 03-26-2020, 05:06 PM
RE: Submitting a form with a cron job? - by includebeer - 03-26-2020, 07:00 PM
|