Cron.php 866 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. namespace We7\Table\Core;
  7. class Cron extends \We7Table {
  8. protected $tableName = 'core_cron';
  9. protected $primaryKey = 'id';
  10. protected $field = array(
  11. 'cloudid',
  12. 'module',
  13. 'uniacid',
  14. 'type',
  15. 'name',
  16. 'filename',
  17. 'lastruntime',
  18. 'nextruntime',
  19. 'weekday',
  20. 'day',
  21. 'hour',
  22. 'minute',
  23. 'extra',
  24. 'status',
  25. 'createtime'
  26. );
  27. protected $default = array(
  28. 'cloudid' => 0,
  29. 'module' => '',
  30. 'uniacid' => 0,
  31. 'type' => 1,
  32. 'name' => '',
  33. 'filename' => '',
  34. 'lastruntime' => 0,
  35. 'nextruntime' => 0,
  36. 'weekday' => -1,
  37. 'day' => -1,
  38. 'hour' => -1,
  39. 'minute' => '',
  40. 'extra' => '',
  41. 'status' => 0,
  42. 'createtime' => 0
  43. );
  44. }