settings.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "CronApi": {
  3. "BaseUri": "http://172.17.0.1:5000"
  4. },
  5. "Alerts": {
  6. "Command": "/home/pi/projects/CronAlarm/scripts/mpc-alarm-cron.sh",
  7. "Groups": [
  8. {
  9. "Name": "Weekdays",
  10. "Options": [
  11. {
  12. "Label": "06:15 - New Work",
  13. "Pattern": "15 06 * * MON-FRI"
  14. },
  15. {
  16. "Label": "06:20 - Work",
  17. "Pattern": "20 06 * * MON-FRI"
  18. },
  19. {
  20. "Label": "08:00 - Holidays (early)",
  21. "Pattern": "00 08 * * MON-FRI"
  22. },
  23. {
  24. "Label": "08:30 - Holidays",
  25. "Pattern": "30 08 * * MON-FRI"
  26. },
  27. {
  28. "Label": "09:00 - Sleeping In",
  29. "Pattern": "00 09 * * MON-FRI"
  30. }
  31. ]
  32. },
  33. {
  34. "Name": "Saturday",
  35. "Options": [
  36. {
  37. "Label": "09:00 - Sleeping In",
  38. "Pattern": "00 09 * * SAT"
  39. },
  40. {
  41. "Label": "08:20 - Long-Jog",
  42. "Pattern": "20 08 * * SAT"
  43. },
  44. {
  45. "Label": "08:00 - Long-Jog (early)",
  46. "Pattern": "00 08 * * SAT"
  47. },
  48. {
  49. "Label": "07:40 - Long-Jog (very early)",
  50. "Pattern": "40 07 * * SAT"
  51. }
  52. ]
  53. },
  54. {
  55. "Name": "Sunday",
  56. "Options": [
  57. {
  58. "Label": "08:30 - Swimming",
  59. "Pattern": "30 08 * * SUN"
  60. },
  61. {
  62. "Label": "09:00 - Lazy",
  63. "Pattern": "00 09 * * SUN"
  64. },
  65. {
  66. "Label": "08:00 - Early",
  67. "Pattern": "00 08 * * SUN"
  68. }
  69. ]
  70. }
  71. ]
  72. }
  73. }