Welcome Guest, Not a member yet? Register   Sign In
Help with cronjob command line
#9

(This post was last modified: 07-17-2016, 09:39 PM by PaulD.)

You are asking it to be less than when the day starts, and greater than when the day ends, that surely will not return anything

Change
PHP Code:
$this->db->where('start_time < '$day_start);
$this->db->where('start_time > '$day_end); 

To
PHP Code:
$this->db->where('start_time > '$day_start);
$this->db->where('start_time < '$day_end); 

Best wishes,

Paul
Reply


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 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



Theme © iAndrew 2016 - Forum software by © MyBB