Overview
Comment: | Replaced cron logic with crude but robust approach. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | run-mgr |
Files: | files | file ages | folders |
SHA1: |
358e040c6cfb815f5a75d46afefac9e9 |
User & Date: | matt on 2017-02-19 23:47:52 |
Other Links: | branch diff | manifest | tags |
Context
2017-02-20
| ||
13:47 | Suppressed some noisy output Closed-Leaf check-in: a7eabde3a3 user: matt tags: run-mgr | |
07:03 | Merged first version of mtutil into v1.64 Closed-Leaf check-in: 45b3d258d9 user: matt tags: v1.64-defunct | |
2017-02-19
| ||
23:47 | Replaced cron logic with crude but robust approach. check-in: 358e040c6c user: matt tags: run-mgr | |
2017-02-18
| ||
22:40 | Added basic crontab based launching check-in: 5d3a3776be user: matt tags: run-mgr | |
Changes
Modified common.scm from [0892af02f7] to [0f03b1a388].
︙ | |||
1694 1695 1696 1697 1698 1699 1700 | 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 | - - - - + + + + + + - + - - - + + + - - - + + + + + + + + - - - - - - - + + + + + + + - - - - - - + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | ;; ;; min hour dayofmonth month dayofweek ;; 0-59 0-23 1-31 1-12 0-6 ### NOTE: dayofweek does not include 7 ;; ;; #t => yes, run the job ;; #f => no, do not run the job ;; |
︙ |
Modified mtut.scm from [63cded8057] to [e6a134e6d3].
︙ | |||
239 240 241 242 243 244 245 | 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 | - - + + + + + + - + + | ;; (define (make-runname pre post) (time->string (seconds->local-time (current-seconds)) "%Yw%V.%w-%H%M")) ;; collect, translate, collate and assemble a pkt from the command-line ;; |
︙ | |||
285 286 287 288 289 290 291 | 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 | - + - + + | ;; NEED TIMESTAMP ON PKTS for efficient loading of packets into db. ;; make a run request pkt from basic data ;; |
︙ | |||
364 365 366 367 368 369 370 | 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 | - + + - + - + - + - + - + + + - - - - + + + + + | (if (not (eq? (length valparts) 6)) (print "ERROR: bad sense spec \"" (string-intersperse sense " ") "\"") (let* ((run-name (car valparts)) (crontab (string-intersperse (cdr valparts))) (last-run (if (null? starttimes) ;; never run 0 (apply max (map cdr starttimes)))) |
︙ |
Modified runconfigs.config from [598465160d] to [9aede9683d].
︙ | |||
12 13 14 15 16 17 18 | 12 13 14 15 16 17 18 19 | - + | # hour 0-23 # day of month 1-31 # month 1-12 (or names, see below) # day of week 0-7 (0 or 7 is Sun, or use names) # every friday at midnight run all all:scheduled auto 0 0 0 0 5 |