mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 08:56:27 +02:00
First almost working version of daemons
This commit is contained in:
parent
e709ed91b7
commit
6614c2cfeb
9 changed files with 491 additions and 20 deletions
|
@ -220,4 +220,14 @@ namespace models;
|
|||
return $this->_run_query($query, $params);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get scheduleds before a date
|
||||
* @param string $date : Date to get scheduleds before
|
||||
* @return array
|
||||
*/
|
||||
public function gets_before_date (string $date)
|
||||
{
|
||||
return $this->_select($this->get_table_name(), ['<=at' => $date]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue