• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with cronjob command line

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.