crono 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crono/cli.rb +1 -1
  3. data/lib/crono/job.rb +2 -2
  4. data/lib/crono/performer_proxy.rb +5 -4
  5. data/lib/crono/version.rb +1 -1
  6. data/spec/cli_spec.rb +3 -2
  7. data/spec/internal/db/crono_test.sqlite +0 -0
  8. data/spec/internal/log/test.log +2417 -0
  9. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/-3/-39xcDaxqOfT5_YbKGMC2VoOLHUFg1gyuxeTL-Eup7k.cache +0 -0
  10. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/1I/1IjQIP_VOqgJXKhZpmU6BzJwwAQQ13eyxAePeBRHXEg.cache +2 -0
  11. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/1b/1bH_3dMMKuACfI0TmmCeyB8zoKIiuiZsSSP6HhRXLbA.cache +3 -0
  12. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/2s/2sJPeHyInPjaKqPfsEWbBdNYaCzFtvcr5nk8VlQjHvY.cache +0 -0
  13. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/47/479UaX78ImQpq18DwAHbpTAKCQcaS_g9kEFwudRxxC8.cache +1 -0
  14. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/7H/7H6n_CYmS-913TL8a3U1alFRI5CWy18J8jnwdLL_Gro.cache +1 -0
  15. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/8b/8bJ6EwvIAjMXaNe9Ic4zq8rauZNb-xiW27gp1sQAY44.cache +1 -0
  16. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/B1/B1NZJ5pbmAf6UeZz0obPpXJm4h-n3_qQvYyzru-IRXM.cache +2 -0
  17. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Bi/BicUSIwup1Ebl9N94HOoznAu2a8p4LqqIf0swCsboJk.cache +1 -0
  18. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/CT/CTH9PjxIhN-xu3gPlv5Xo1d1AFJOX0ETdUqvh74MZN4.cache +0 -0
  19. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Cj/Cjzu7j1PyqHJD0alH5TiAYfJDN0Zbxhg4zFZegEzuYM.cache +0 -0
  20. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/EF/EF9qrwbJ3DwrJmsImyKeW0iiA0yZ-AZ1IbNlYGuXnVs.cache +1 -0
  21. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Fi/FiX3vL70mZzXvdq98JwHM3hMmVjpV20ZRiPFXhrEw3A.cache +3 -0
  22. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/GW/GWdxGb7VI1UP5TTDis3jju2Ep7-oqCWjNmRUDRTfgNI.cache +0 -0
  23. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/LE/lEMT8eCBeJXLWA8GKsOLOQBRrEa21XylM_E5JCr4rgg.cache +1 -0
  24. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/LH/LHh7k1JlS1aIHCbv5fHLGjrvmMHH_Jz88vymBMjoCGk.cache +0 -0
  25. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/M2/M27EDDKK6_tC_Usl58dui_-zmw7oDqmzrrdQSIQY14Y.cache +1 -0
  26. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/M3/M34sNs1L2xLkDoLgxPZpTl1b_2gnlNorXfetzSSNFzQ.cache +0 -0
  27. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/MK/MKsj2fh8ePsAqeFVg9gjrj5TFKHFMhkpv3847HEtRCQ.cache +1 -0
  28. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/ML/MLV0jF0Mx0KJXC8UlPpWgJnHnCDmoZGYwvIY8iCScUo.cache +2 -0
  29. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/MM/MM4lzeaS_hxItA00rs1BMB2FiTSDW11M9YXnPe-tTis.cache +0 -0
  30. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Ng/Ng6PnQ3Vuj0_W2vnfOllxbQzYvtwYSP-2fJkIBNIQp4.cache +3 -0
  31. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Np/NpFyXvvOaE4AgXrrlhA8mGz0Zu3wiafGirgwSdbZdxM.cache +0 -0
  32. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Nv/NvbZ3Hlpr70GgSBXU-Zu8vuInq35MP6A63TQASVMfr8.cache +2 -0
  33. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/O6/O6ubwnCL6c5Yy8zI3admUI6VD1-5gDM8cbdeT2iBZ_Y.cache +2 -0
  34. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/OH/OHcmhT_tBVMS3zWpgTX93KyKUXBtbWDJsoFzXiYnhVc.cache +3 -0
  35. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Rq/RqtRjsxCy4uH845AVedRm0uhgG7RXL11Z72EYSDplIs.cache +1 -0
  36. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Rw/RwnfCAubyGSPbqkRrfgNdC6gRBBVWkqYUodv_-hpQ7w.cache +0 -0
  37. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/VY/VYQF15XEQNHgoXSorUWaNjqn-HSfupp3CZtdyCL7ymU.cache +0 -0
  38. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Vw/VwDJ5qrChK2CUSSnAwxLWSuLNUaForre3ZRxtFlW4Ac.cache +1 -0
  39. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/WI/WIYh9Gi9ndC88dKHN_bO8iFiJwSzUGaJI9gnhSO7Ji8.cache +0 -0
  40. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/X5/X5dT1Gdr8sbGtvrNlwW86aVIMgR2zTd-2kFQ9C3L7Wg.cache +0 -0
  41. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Xo/XoLrhpxlw0kg9u3bMnDyQen8HXO2rqPRTCb8NYObL8Y.cache +0 -0
  42. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/Y1/Y1VBjwUHneW8QFgIGPmxOM0Ug3nZUTAUKXzkKah9AOs.cache +0 -0
  43. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/_t/_tr5uJ_M5iBr2N9uBonXFmxfqt1TxbYfFCxnfAiyiNU.cache +1 -0
  44. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/_w/_wDP8qm_JkjY5FPjc6RNCiP_dc_uBNRMyH64Sl8LJzY.cache +1 -0
  45. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/aW/aWSe6QsJ8Dk7ZAuTOYgjegrAoC2XYQtCCeo9KVzVVQs.cache +0 -0
  46. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/ap/apMxRwM7mSeCyECnYWAbxnWbsfoJLdJfwaxudP9Chi8.cache +1 -0
  47. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/at/ataSdIHBESkY5GN7sMG-XyOftCkIWDK0QaKEewVkqIU.cache +0 -0
  48. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/cm/cm54PMT0IiaHCIjq6T3ZTIMm7Yxo42XwnsyOgnCOXiM.cache +3 -0
  49. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/cm/cmUPiFXFgGEC8LObv4RZX5lwwWHkwS9sqRq1o37epy8.cache +2 -0
  50. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/dJ/dJn0Pwx5cPYGC5q_eHDfNfFt4JiC-fmQVaH5myKr0VA.cache +3 -0
  51. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/dq/dq3gHEjKxw3E013mazOcCiXNbDdPTz-A8oh-ehBXeLY.cache +2 -0
  52. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/em/emsg06Cc17Q7p1Y0IO1PFRtnyhMbj1u4-wVx6W8bgJs.cache +2 -0
  53. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/fu/fuVeiMpLNyElLwjOR6EBQP7-ZUwuJTsQe_Ie11TlX7Y.cache +0 -0
  54. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/iF/iF-qi7hkpBxivxIEuDhEbYCCUdo723aaitG7rholzuY.cache +3 -0
  55. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/iF/if_9bC6Uj3ZokQmIk9el665rc-6LTBoL6U4qR7gtoJU.cache +1 -0
  56. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/j1/j1GLMjXSyzOpsUCKPd35AfXExAXEMHejQdvPd8UErkQ.cache +1 -0
  57. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/j3/j3e_BmEvAiJhmSyXAU9VAE_CZACcKEbzRxeshc8FhJs.cache +0 -0
  58. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/jV/JVKq8sER4GK2hEv9E7tZ7mvXxh14vJeTVCDEnZC0JaM.cache +0 -0
  59. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/jn/jnZ8_zeT39edfDrXllxCW_oH5T-ynBUYGT8YNgyFU9c.cache +2 -0
  60. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/kw/kwNFhW24nxXy_HfVKYdXJyRqhu7ljgl9wR2DcJUo-nA.cache +0 -0
  61. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/nz/nZA-tpBPvlKlQKIbdV4_4NL_5GSce7A27-uejTdXxyo.cache +0 -0
  62. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/nz/nZH58NGgTuROXOSPMik3s7SjDoBucsgev57n0u9vlPA.cache +2 -0
  63. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/qB/qBg00KcV6F7tmpcxNC5tjzrdC3FWusHvOGhz1aV0zs8.cache +1 -0
  64. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/qZ/qZuwDOadKdP81QKNPTbE4G8CESQEnmrIE_INtDzerso.cache +1 -0
  65. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/sR/sRyvthBFPCFQfQ75moJFSYPaR71b7XeQRo9UwjvCWFc.cache +0 -0
  66. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/sl/sliQa4_eurm9yEqcshtJrfPPE6M-DF-t8REXVSOfyUQ.cache +1 -0
  67. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/tA/tAZH91Tm6zrf_sm00veerMt3qNaM2uC74u4Zuxv2gg0.cache +1 -0
  68. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/uY/uYA487PT8yb9JEmcxwo8syJu8nzceyQ2LExeSnyVu50.cache +1 -0
  69. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/vg/vgD37dvBvogssYiXikQ4Olm53D_b46IIW7PB9aAcCVM.cache +0 -0
  70. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/w2/w2_uibK0i1njL5U_7brQZhib5VYdXXvpvhE06yX1SqE.cache +1 -0
  71. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/wN/wNw4kAG0E_RrvLeFAizMmTp_0jh-HGw1ONLtRyw92z0.cache +0 -0
  72. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/xA/xAEcSwhjIYJzUW_4aTWYVRUc7moZTTeCKKkqkxLhrfg.cache +0 -0
  73. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/xn/xnt4dCDEEL7zX5DqWMpQag3bopptMKMDNFzvfvF5OPs.cache +1 -0
  74. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/yI/yI2MBOO01NRSHWPeRJfC5SFBMpefo4xeYfHeWEvkdks.cache +1 -0
  75. data/spec/internal/tmp/cache/assets/sprockets/v4.0.0/z_/z_2HCE5ElxkvIdf9isrro0NsgSdEU0oRSalWcYQss74.cache +1 -0
  76. data/spec/job_spec.rb +17 -6
  77. data/spec/performer_proxy_spec.rb +9 -3
  78. metadata +124 -2
@@ -3866,3 +3866,2420 @@ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 1975)
3866
3866
  Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
3867
3867
  TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3868
3868
  TRANSACTION (0.2ms) rollback transaction
3869
+  (0.6ms) SELECT sqlite_version(*)
3870
+  (0.0ms) SELECT sqlite_version(*)
3871
+  (0.4ms) CREATE TABLE "crono_jobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "job_id" varchar NOT NULL, "log" text(1073741823), "last_performed_at" datetime(6), "healthy" boolean, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
3872
+  (0.3ms) CREATE UNIQUE INDEX "index_crono_jobs_on_job_id" ON "crono_jobs" ("job_id")
3873
+  (0.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
3874
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3875
+ TRANSACTION (0.0ms) begin transaction
3876
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2022-07-23 19:51:38.224431"], ["updated_at", "2022-07-23 19:51:38.224431"]]
3877
+ TRANSACTION (0.2ms) commit transaction
3878
+  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3879
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3880
+  (0.0ms) SELECT sqlite_version(*)
3881
+ TRANSACTION (0.0ms) begin transaction
3882
+ TRANSACTION (0.0ms) rollback transaction
3883
+ TRANSACTION (0.0ms) begin transaction
3884
+ TRANSACTION (0.0ms) rollback transaction
3885
+ TRANSACTION (0.0ms) begin transaction
3886
+ TRANSACTION (0.0ms) rollback transaction
3887
+ TRANSACTION (0.0ms) begin transaction
3888
+ TRANSACTION (0.0ms) rollback transaction
3889
+ TRANSACTION (0.0ms) begin transaction
3890
+ TRANSACTION (0.0ms) rollback transaction
3891
+ TRANSACTION (0.0ms) begin transaction
3892
+ TRANSACTION (0.0ms) rollback transaction
3893
+ TRANSACTION (0.0ms) begin transaction
3894
+ TRANSACTION (0.0ms) rollback transaction
3895
+ TRANSACTION (0.0ms) begin transaction
3896
+ TRANSACTION (0.0ms) rollback transaction
3897
+ TRANSACTION (0.0ms) begin transaction
3898
+ TRANSACTION (0.0ms) rollback transaction
3899
+ TRANSACTION (0.0ms) begin transaction
3900
+ TRANSACTION (0.0ms) rollback transaction
3901
+ TRANSACTION (0.0ms) begin transaction
3902
+ TRANSACTION (0.0ms) rollback transaction
3903
+ TRANSACTION (0.0ms) begin transaction
3904
+ TRANSACTION (0.0ms) rollback transaction
3905
+ TRANSACTION (0.0ms) begin transaction
3906
+ TRANSACTION (0.0ms) rollback transaction
3907
+ TRANSACTION (0.0ms) begin transaction
3908
+ TRANSACTION (0.0ms) rollback transaction
3909
+ TRANSACTION (0.0ms) begin transaction
3910
+ TRANSACTION (0.0ms) rollback transaction
3911
+ TRANSACTION (0.0ms) begin transaction
3912
+ TRANSACTION (0.0ms) rollback transaction
3913
+ TRANSACTION (0.0ms) begin transaction
3914
+ TRANSACTION (0.0ms) rollback transaction
3915
+ TRANSACTION (0.0ms) begin transaction
3916
+ TRANSACTION (0.0ms) rollback transaction
3917
+ TRANSACTION (0.0ms) begin transaction
3918
+ TRANSACTION (0.0ms) rollback transaction
3919
+ TRANSACTION (0.0ms) begin transaction
3920
+ TRANSACTION (0.0ms) rollback transaction
3921
+ TRANSACTION (0.0ms) begin transaction
3922
+ TRANSACTION (0.0ms) rollback transaction
3923
+ TRANSACTION (0.0ms) begin transaction
3924
+ TRANSACTION (0.0ms) rollback transaction
3925
+ TRANSACTION (0.0ms) begin transaction
3926
+ TRANSACTION (0.0ms) rollback transaction
3927
+ TRANSACTION (0.0ms) begin transaction
3928
+ TRANSACTION (0.0ms) rollback transaction
3929
+ TRANSACTION (0.0ms) begin transaction
3930
+ TRANSACTION (0.0ms) rollback transaction
3931
+ TRANSACTION (0.0ms) begin transaction
3932
+ TRANSACTION (0.0ms) rollback transaction
3933
+ TRANSACTION (0.0ms) begin transaction
3934
+ TRANSACTION (0.0ms) rollback transaction
3935
+ TRANSACTION (0.0ms) begin transaction
3936
+ Crono::CronoJob Load (0.1ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
3937
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3938
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
3939
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.445148"], ["updated_at", "2022-07-23 19:51:38.445148"]]
3940
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3941
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3942
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
3943
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3944
+ TRANSACTION (0.2ms) rollback transaction
3945
+ TRANSACTION (0.0ms) begin transaction
3946
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
3947
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3948
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
3949
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.447166"], ["updated_at", "2022-07-23 19:51:38.447166"]]
3950
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3951
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3952
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3953
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
3954
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-23T22:51:38.446646 #14041] INFO -- : Perform TestFailingJob\nE, [2022-07-23T22:51:38.446722 #14041] ERROR -- : Finished TestFailingJob in 0.00 seconds with error: wrong number of arguments (given 0, expected 1)\nE, [2022-07-23T22:51:38.446736 #14041] ERROR -- : /Users/dima/dev/crono/spec/job_spec.rb:10:in `perform'\n/Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-23 19:51:38.446651"], ["healthy", 0], ["updated_at", "2022-07-23 19:51:38.447972"], ["id", 1]]
3955
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3956
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
3957
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
3958
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3959
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
3960
+ Crono::CronoJob Create (0.0ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.459891"], ["updated_at", "2022-07-23 19:51:38.459891"]]
3961
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3962
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3963
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 2]]
3964
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3965
+ TRANSACTION (0.2ms) rollback transaction
3966
+ TRANSACTION (0.0ms) begin transaction
3967
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
3968
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3969
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
3970
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.461423"], ["updated_at", "2022-07-23 19:51:38.461423"]]
3971
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3972
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3973
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3974
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
3975
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-23T22:51:38.460927 #14041] INFO -- : Perform TestFailingJob\nE, [2022-07-23T22:51:38.461016 #14041] ERROR -- : Finished TestFailingJob in 0.00 seconds with error: wrong number of arguments (given 0, expected 1)\nE, [2022-07-23T22:51:38.461030 #14041] ERROR -- : /Users/dima/dev/crono/spec/job_spec.rb:10:in `perform'\n/Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-23 19:51:38.460932"], ["healthy", 0], ["updated_at", "2022-07-23 19:51:38.462133"], ["id", 1]]
3976
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3977
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
3978
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3979
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
3980
+ Crono::CronoJob Create (0.0ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.462751"], ["updated_at", "2022-07-23 19:51:38.462751"]]
3981
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3982
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3983
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 2]]
3984
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3985
+ TRANSACTION (0.2ms) rollback transaction
3986
+ TRANSACTION (0.0ms) begin transaction
3987
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
3988
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3989
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
3990
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.463979"], ["updated_at", "2022-07-23 19:51:38.463979"]]
3991
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3992
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3993
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? ORDER BY "crono_jobs"."id" ASC LIMIT ?  [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
3994
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "updated_at" = ? WHERE "crono_jobs"."id" = ? [["updated_at", "2022-07-23 19:51:38.464605"], ["id", 1]]
3995
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
3996
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
3997
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
3998
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
3999
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4000
+ TRANSACTION (0.2ms) rollback transaction
4001
+ TRANSACTION (0.0ms) begin transaction
4002
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4003
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4004
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4005
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.466266"], ["updated_at", "2022-07-23 19:51:38.466266"]]
4006
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4007
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4008
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4009
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4010
+ TRANSACTION (0.1ms) rollback transaction
4011
+ TRANSACTION (0.0ms) begin transaction
4012
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4013
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4014
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4015
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.467632"], ["updated_at", "2022-07-23 19:51:38.467632"]]
4016
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4017
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4018
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4019
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4020
+ TRANSACTION (0.2ms) rollback transaction
4021
+ TRANSACTION (0.0ms) begin transaction
4022
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4023
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4024
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4025
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.469922"], ["updated_at", "2022-07-23 19:51:38.469922"]]
4026
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4027
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4028
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4029
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4030
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-23T22:51:38.468556 #14041] INFO -- : Perform TestJob\nE, [2022-07-23T22:51:38.469569 #14041] ERROR -- : Finished TestJob in 0.00 seconds with error: undefined method `perform' for nil:NilClass\n\n performer.new.perform\n ^^^^^^^^\nE, [2022-07-23T22:51:38.469583 #14041] ERROR -- : /Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-23 19:51:38.468560"], ["healthy", 0], ["updated_at", "2022-07-23 19:51:38.470567"], ["id", 1]]
4031
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4032
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4033
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4034
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4035
+ TRANSACTION (0.2ms) rollback transaction
4036
+ TRANSACTION (0.0ms) begin transaction
4037
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4038
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4039
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4040
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.471963"], ["updated_at", "2022-07-23 19:51:38.471963"]]
4041
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4042
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4043
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4044
+ Crono::CronoJob Exists? (5.2ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4045
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-23T22:51:38.471539 #14041] INFO -- : Perform TestJob\nI, [2022-07-23T22:51:38.471622 #14041] INFO -- : Finished TestJob in 0.00 seconds\n"], ["last_performed_at", "2022-07-23 19:51:38.471544"], ["healthy", 1], ["updated_at", "2022-07-23 19:51:38.477863"], ["id", 1]]
4046
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4047
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4048
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4049
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4050
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4051
+ TRANSACTION (0.2ms) rollback transaction
4052
+ TRANSACTION (0.0ms) begin transaction
4053
+ TRANSACTION (0.0ms) rollback transaction
4054
+ TRANSACTION (0.0ms) begin transaction
4055
+ Crono::CronoJob Exists? (0.1ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4056
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4057
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4058
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4059
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.481329"], ["updated_at", "2022-07-23 19:51:38.481329"]]
4060
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4061
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4062
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4063
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4064
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["updated_at", "2022-07-23 19:51:38.482329"], ["id", 1]]
4065
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4066
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4067
+ TRANSACTION (0.2ms) rollback transaction
4068
+ TRANSACTION (0.0ms) begin transaction
4069
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4070
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4071
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4072
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.483655"], ["updated_at", "2022-07-23 19:51:38.483655"]]
4073
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4074
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4075
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4076
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4077
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["last_performed_at", "2022-07-23 19:51:38.483336"], ["healthy", 1], ["updated_at", "2022-07-23 19:51:38.484375"], ["id", 1]]
4078
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4079
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4080
+ TRANSACTION (0.1ms) rollback transaction
4081
+ TRANSACTION (0.0ms) begin transaction
4082
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4083
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4084
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4085
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.485565"], ["updated_at", "2022-07-23 19:51:38.485565"]]
4086
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4087
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4088
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4089
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4090
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-23T22:51:38.485169 #14041] INFO -- : test message\n"], ["updated_at", "2022-07-23 19:51:38.486139"], ["id", 1]]
4091
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4092
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4093
+ TRANSACTION (0.2ms) rollback transaction
4094
+ TRANSACTION (0.0ms) begin transaction
4095
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4096
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4097
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4098
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.487479"], ["updated_at", "2022-07-23 19:51:38.487479"]]
4099
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4100
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4101
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4102
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4103
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-23T22:51:38.487155 #14041] INFO -- : line 1\nline 2\nline 3\nline 4\nline 5\nline 6\nline 7\nline 8\nline 9\nline 10\nline 11\nline 12\nline 13\nline 14\nline 15\nline 16\nline 17\nline 18\nline 19\nline 20\nline 21\nline 22\nline 23\nline 24\nline 25\nline 26\nline 27\nline 28\nline 29\nline 30\nline 31\nline 32\nline 33\nline 34\nline 35\nline 36\nline 37\nline 38\nline 39\nline 40\nline 41\nline 42\nline 43\nline 44\nline 45\nline 46\nline 47\nline 48\nline 49\nline 50\nline 51\nline 52\nline 53\nline 54\nline 55\nline 56\nline 57\nline 58\nline 59\nline 60\nline 61\nline 62\nline 63\nline 64\nline 65\nline 66\nline 67\nline 68\nline 69\nline 70\nline 71\nline 72\nline 73\nline 74\nline 75\nline 76\nline 77\nline 78\nline 79\nline 80\nline 81\nline 82\nline 83\nline 84\nline 85\nline 86\nline 87\nline 88\nline 89\nline 90\nline 91\nline 92\nline 93\nline 94\nline 95\nline 96\nline 97\nline 98\nline 99\nline 100\n"], ["updated_at", "2022-07-23 19:51:38.488078"], ["id", 1]]
4104
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4105
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4106
+ TRANSACTION (0.2ms) rollback transaction
4107
+ TRANSACTION (0.0ms) begin transaction
4108
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4109
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4110
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4111
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.489360"], ["updated_at", "2022-07-23 19:51:38.489360"]]
4112
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4113
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4114
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4115
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4116
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "line 51\nline 52\nline 53\nline 54\nline 55\nline 56\nline 57\nline 58\nline 59\nline 60\nline 61\nline 62\nline 63\nline 64\nline 65\nline 66\nline 67\nline 68\nline 69\nline 70\nline 71\nline 72\nline 73\nline 74\nline 75\nline 76\nline 77\nline 78\nline 79\nline 80\nline 81\nline 82\nline 83\nline 84\nline 85\nline 86\nline 87\nline 88\nline 89\nline 90\nline 91\nline 92\nline 93\nline 94\nline 95\nline 96\nline 97\nline 98\nline 99\nline 100\n"], ["updated_at", "2022-07-23 19:51:38.490047"], ["id", 1]]
4117
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4118
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4119
+ TRANSACTION (0.2ms) rollback transaction
4120
+ TRANSACTION (0.0ms) begin transaction
4121
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4122
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4123
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4124
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-23 19:51:38.491165"], ["updated_at", "2022-07-23 19:51:38.491165"]]
4125
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4126
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4127
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4128
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4129
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["last_performed_at", "2022-07-23 19:51:38.490869"], ["updated_at", "2022-07-23 19:51:38.491836"], ["id", 1]]
4130
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4131
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4132
+ TRANSACTION (0.1ms) rollback transaction
4133
+ TRANSACTION (0.0ms) begin transaction
4134
+ TRANSACTION (0.0ms) rollback transaction
4135
+ TRANSACTION (0.0ms) begin transaction
4136
+ TRANSACTION (0.0ms) rollback transaction
4137
+ TRANSACTION (0.0ms) begin transaction
4138
+ TRANSACTION (0.0ms) rollback transaction
4139
+ TRANSACTION (0.0ms) begin transaction
4140
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" IS NULL LIMIT ? [["LIMIT", 1]]
4141
+ TRANSACTION (0.0ms) rollback transaction
4142
+ TRANSACTION (0.0ms) begin transaction
4143
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4144
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
4145
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "TestJob every 2 days"], ["created_at", "2022-07-23 19:51:38.494511"], ["updated_at", "2022-07-23 19:51:38.494511"]]
4146
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4147
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4148
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
4149
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
4150
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
4151
+ TRANSACTION (0.2ms) rollback transaction
4152
+ TRANSACTION (0.0ms) begin transaction
4153
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4154
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 3 days"], ["LIMIT", 1]]
4155
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 3 days"], ["created_at", "2022-07-23 19:51:38.495782"], ["updated_at", "2022-07-23 19:51:38.495782"]]
4156
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4157
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 3 days"], ["LIMIT", 1]]
4158
+ TRANSACTION (0.1ms) rollback transaction
4159
+ TRANSACTION (0.0ms) begin transaction
4160
+ TRANSACTION (0.0ms) rollback transaction
4161
+ TRANSACTION (0.0ms) begin transaction
4162
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:30"], ["LIMIT", 1]]
4163
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4164
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:30"], ["LIMIT", 1]]
4165
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:30"], ["created_at", "2022-07-23 19:51:38.497650"], ["updated_at", "2022-07-23 19:51:38.497650"]]
4166
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4167
+ TRANSACTION (0.2ms) rollback transaction
4168
+ TRANSACTION (0.0ms) begin transaction
4169
+ TRANSACTION (0.1ms) rollback transaction
4170
+ TRANSACTION (0.0ms) begin transaction
4171
+ TRANSACTION (0.0ms) rollback transaction
4172
+ TRANSACTION (0.0ms) begin transaction
4173
+ TRANSACTION (0.0ms) rollback transaction
4174
+ TRANSACTION (0.0ms) begin transaction
4175
+ TRANSACTION (0.0ms) rollback transaction
4176
+ TRANSACTION (0.0ms) begin transaction
4177
+ TRANSACTION (0.0ms) rollback transaction
4178
+ TRANSACTION (0.0ms) begin transaction
4179
+ TRANSACTION (0.0ms) rollback transaction
4180
+ TRANSACTION (0.0ms) begin transaction
4181
+ TRANSACTION (0.0ms) rollback transaction
4182
+ TRANSACTION (0.0ms) begin transaction
4183
+ TRANSACTION (0.0ms) rollback transaction
4184
+ TRANSACTION (0.0ms) begin transaction
4185
+ TRANSACTION (0.0ms) rollback transaction
4186
+ TRANSACTION (0.0ms) begin transaction
4187
+ TRANSACTION (0.0ms) rollback transaction
4188
+ TRANSACTION (0.0ms) begin transaction
4189
+ TRANSACTION (0.0ms) rollback transaction
4190
+ TRANSACTION (0.0ms) begin transaction
4191
+ TRANSACTION (0.0ms) rollback transaction
4192
+ TRANSACTION (0.0ms) begin transaction
4193
+ TRANSACTION (0.0ms) rollback transaction
4194
+ TRANSACTION (0.0ms) begin transaction
4195
+ TRANSACTION (0.0ms) rollback transaction
4196
+ TRANSACTION (0.0ms) begin transaction
4197
+ TRANSACTION (0.0ms) rollback transaction
4198
+ TRANSACTION (0.0ms) begin transaction
4199
+ TRANSACTION (0.0ms) rollback transaction
4200
+ TRANSACTION (0.0ms) begin transaction
4201
+ TRANSACTION (0.0ms) rollback transaction
4202
+ TRANSACTION (0.0ms) begin transaction
4203
+ TRANSACTION (0.0ms) rollback transaction
4204
+ TRANSACTION (0.0ms) begin transaction
4205
+ TRANSACTION (0.0ms) rollback transaction
4206
+ TRANSACTION (0.0ms) begin transaction
4207
+ TRANSACTION (0.0ms) rollback transaction
4208
+ TRANSACTION (0.0ms) begin transaction
4209
+ TRANSACTION (0.0ms) rollback transaction
4210
+ TRANSACTION (0.0ms) begin transaction
4211
+ TRANSACTION (0.0ms) rollback transaction
4212
+ TRANSACTION (0.0ms) begin transaction
4213
+ TRANSACTION (0.0ms) rollback transaction
4214
+ TRANSACTION (0.0ms) begin transaction
4215
+ TRANSACTION (0.0ms) rollback transaction
4216
+ TRANSACTION (0.0ms) begin transaction
4217
+ TRANSACTION (0.0ms) rollback transaction
4218
+ TRANSACTION (0.0ms) begin transaction
4219
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4220
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "used_job"], ["LIMIT", 1]]
4221
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "used_job"], ["created_at", "2022-07-23 19:51:42.506670"], ["updated_at", "2022-07-23 19:51:42.506670"]]
4222
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4223
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE 1=1
4224
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4225
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4226
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4227
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "used_job"], ["LIMIT", 1]]
4228
+ TRANSACTION (0.2ms) rollback transaction
4229
+ TRANSACTION (0.0ms) begin transaction
4230
+ TRANSACTION (0.0ms) rollback transaction
4231
+ TRANSACTION (0.0ms) begin transaction
4232
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4233
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4234
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4235
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-23 19:51:42.508841"], ["updated_at", "2022-07-23 19:51:42.508841"]]
4236
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4237
+ Processing by Crono::JobsController#index as HTML
4238
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4239
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
4240
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4241
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.8ms | Allocations: 843)
4242
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 7.7ms | Allocations: 12135)
4243
+ Completed 200 OK in 13ms (Views: 9.5ms | ActiveRecord: 0.0ms | Allocations: 15843)
4244
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4245
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4246
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4247
+ TRANSACTION (0.2ms) rollback transaction
4248
+ TRANSACTION (0.0ms) begin transaction
4249
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4250
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4251
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4252
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-23 19:51:42.532044"], ["updated_at", "2022-07-23 19:51:42.532044"]]
4253
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4254
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4255
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
4256
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["last_performed_at", "2022-07-23 19:41:42.532514"], ["healthy", 0], ["updated_at", "2022-07-23 19:51:42.532835"], ["id", 1]]
4257
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4258
+ Processing by Crono::JobsController#index as HTML
4259
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4260
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
4261
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4262
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.2ms | Allocations: 216)
4263
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.6ms | Allocations: 1651)
4264
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 2020)
4265
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4266
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4267
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4268
+ TRANSACTION (0.2ms) rollback transaction
4269
+ TRANSACTION (0.0ms) begin transaction
4270
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4271
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4272
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4273
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-23 19:51:42.535211"], ["updated_at", "2022-07-23 19:51:42.535211"]]
4274
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4275
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4276
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
4277
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["last_performed_at", "2022-07-23 19:41:42.535623"], ["healthy", 1], ["updated_at", "2022-07-23 19:51:42.535875"], ["id", 1]]
4278
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4279
+ Processing by Crono::JobsController#index as HTML
4280
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4281
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
4282
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4283
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 204)
4284
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.5ms | Allocations: 1639)
4285
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 2007)
4286
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4287
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4288
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4289
+ TRANSACTION (0.2ms) rollback transaction
4290
+ TRANSACTION (0.0ms) begin transaction
4291
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4292
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4293
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4294
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-23 19:51:42.538109"], ["updated_at", "2022-07-23 19:51:42.538109"]]
4295
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4296
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4297
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
4298
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4299
+ Processing by Crono::JobsController#index as HTML
4300
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4301
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
4302
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4303
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 136)
4304
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.4ms | Allocations: 1584)
4305
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 1952)
4306
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4307
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4308
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4309
+ TRANSACTION (0.2ms) rollback transaction
4310
+ TRANSACTION (0.0ms) begin transaction
4311
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4312
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4313
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4314
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-23 19:51:42.540539"], ["updated_at", "2022-07-23 19:51:42.540539"]]
4315
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4316
+ Processing by Crono::JobsController#show as HTML
4317
+ Parameters: {"id"=>"1"}
4318
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4319
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4320
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application
4321
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application (Duration: 0.3ms | Allocations: 242)
4322
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.7ms | Allocations: 1667)
4323
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 2421)
4324
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4325
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4326
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4327
+ TRANSACTION (0.2ms) rollback transaction
4328
+ TRANSACTION (0.0ms) begin transaction
4329
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4330
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4331
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4332
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-23 19:51:42.543371"], ["updated_at", "2022-07-23 19:51:42.543371"]]
4333
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4334
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4335
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
4336
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["healthy", 0], ["updated_at", "2022-07-23 19:51:42.544047"], ["id", 1]]
4337
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4338
+ Processing by Crono::JobsController#show as HTML
4339
+ Parameters: {"id"=>"1"}
4340
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4341
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4342
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application
4343
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 46)
4344
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.4ms | Allocations: 1471)
4345
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 1960)
4346
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4347
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4348
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4349
+ TRANSACTION (0.2ms) rollback transaction
4350
+  (0.6ms) SELECT sqlite_version(*)
4351
+  (0.0ms) SELECT sqlite_version(*)
4352
+  (0.5ms) CREATE TABLE "crono_jobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "job_id" varchar NOT NULL, "log" text(1073741823), "last_performed_at" datetime(6), "healthy" boolean, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
4353
+  (0.2ms) CREATE UNIQUE INDEX "index_crono_jobs_on_job_id" ON "crono_jobs" ("job_id")
4354
+  (0.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
4355
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
4356
+ TRANSACTION (0.0ms) begin transaction
4357
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2022-07-24 19:36:19.815739"], ["updated_at", "2022-07-24 19:36:19.815739"]]
4358
+ TRANSACTION (0.2ms) commit transaction
4359
+  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
4360
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
4361
+  (0.0ms) SELECT sqlite_version(*)
4362
+ TRANSACTION (0.0ms) begin transaction
4363
+ TRANSACTION (0.0ms) rollback transaction
4364
+ TRANSACTION (0.0ms) begin transaction
4365
+ TRANSACTION (0.0ms) rollback transaction
4366
+ TRANSACTION (0.0ms) begin transaction
4367
+ TRANSACTION (0.0ms) rollback transaction
4368
+ TRANSACTION (0.0ms) begin transaction
4369
+ TRANSACTION (0.0ms) rollback transaction
4370
+ TRANSACTION (0.0ms) begin transaction
4371
+ TRANSACTION (0.0ms) rollback transaction
4372
+ TRANSACTION (0.0ms) begin transaction
4373
+ TRANSACTION (0.0ms) rollback transaction
4374
+ TRANSACTION (0.0ms) begin transaction
4375
+ TRANSACTION (0.0ms) rollback transaction
4376
+ TRANSACTION (0.0ms) begin transaction
4377
+ TRANSACTION (0.0ms) rollback transaction
4378
+ TRANSACTION (0.0ms) begin transaction
4379
+ TRANSACTION (0.0ms) rollback transaction
4380
+ TRANSACTION (0.0ms) begin transaction
4381
+ TRANSACTION (0.0ms) rollback transaction
4382
+ TRANSACTION (0.0ms) begin transaction
4383
+ TRANSACTION (0.0ms) rollback transaction
4384
+ TRANSACTION (0.0ms) begin transaction
4385
+ TRANSACTION (0.0ms) rollback transaction
4386
+ TRANSACTION (0.0ms) begin transaction
4387
+ TRANSACTION (0.0ms) rollback transaction
4388
+ TRANSACTION (0.0ms) begin transaction
4389
+ TRANSACTION (0.0ms) rollback transaction
4390
+ TRANSACTION (0.0ms) begin transaction
4391
+ TRANSACTION (0.0ms) rollback transaction
4392
+ TRANSACTION (0.0ms) begin transaction
4393
+ TRANSACTION (0.0ms) rollback transaction
4394
+ TRANSACTION (0.0ms) begin transaction
4395
+ TRANSACTION (0.0ms) rollback transaction
4396
+ TRANSACTION (0.0ms) begin transaction
4397
+ TRANSACTION (0.0ms) rollback transaction
4398
+ TRANSACTION (0.0ms) begin transaction
4399
+ TRANSACTION (0.0ms) rollback transaction
4400
+ TRANSACTION (0.0ms) begin transaction
4401
+ TRANSACTION (0.0ms) rollback transaction
4402
+ TRANSACTION (0.0ms) begin transaction
4403
+ TRANSACTION (0.0ms) rollback transaction
4404
+ TRANSACTION (0.0ms) begin transaction
4405
+ TRANSACTION (0.0ms) rollback transaction
4406
+ TRANSACTION (0.0ms) begin transaction
4407
+ TRANSACTION (0.0ms) rollback transaction
4408
+ TRANSACTION (0.0ms) begin transaction
4409
+ TRANSACTION (0.0ms) rollback transaction
4410
+ TRANSACTION (0.0ms) begin transaction
4411
+ TRANSACTION (0.0ms) rollback transaction
4412
+ TRANSACTION (0.0ms) begin transaction
4413
+ TRANSACTION (0.0ms) rollback transaction
4414
+ TRANSACTION (0.0ms) begin transaction
4415
+ TRANSACTION (0.0ms) rollback transaction
4416
+ TRANSACTION (0.0ms) begin transaction
4417
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4418
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4419
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4420
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.028791"], ["updated_at", "2022-07-24 19:36:20.028791"]]
4421
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4422
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4423
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4424
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4425
+ TRANSACTION (0.2ms) rollback transaction
4426
+ TRANSACTION (0.0ms) begin transaction
4427
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
4428
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4429
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
4430
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.030486"], ["updated_at", "2022-07-24 19:36:20.030486"]]
4431
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4432
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4433
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4434
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4435
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:20.029987 #17502] INFO -- : Perform TestFailingJob\nE, [2022-07-24T22:36:20.030058 #17502] ERROR -- : Finished TestFailingJob in 0.00 seconds with error: Some error\nE, [2022-07-24T22:36:20.030075 #17502] ERROR -- : /Users/dima/dev/crono/spec/job_spec.rb:11:in `perform'\n/Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-24 19:36:20.029993"], ["healthy", 0], ["updated_at", "2022-07-24 19:36:20.031237"], ["id", 1]]
4436
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4437
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
4438
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4439
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4440
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4441
+ Crono::CronoJob Create (0.0ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.033161"], ["updated_at", "2022-07-24 19:36:20.033161"]]
4442
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4443
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4444
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 2]]
4445
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4446
+ TRANSACTION (0.1ms) rollback transaction
4447
+ TRANSACTION (0.0ms) begin transaction
4448
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
4449
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4450
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
4451
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.034411"], ["updated_at", "2022-07-24 19:36:20.034411"]]
4452
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4453
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4454
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4455
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4456
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:20.033969 #17502] INFO -- : Perform TestFailingJob\nE, [2022-07-24T22:36:20.034045 #17502] ERROR -- : Finished TestFailingJob in 0.00 seconds with error: Some error\nE, [2022-07-24T22:36:20.034060 #17502] ERROR -- : /Users/dima/dev/crono/spec/job_spec.rb:11:in `perform'\n/Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-24 19:36:20.033974"], ["healthy", 0], ["updated_at", "2022-07-24 19:36:20.035043"], ["id", 1]]
4457
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4458
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4459
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4460
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4461
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.035753"], ["updated_at", "2022-07-24 19:36:20.035753"]]
4462
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4463
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4464
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 2]]
4465
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4466
+ TRANSACTION (0.2ms) rollback transaction
4467
+ TRANSACTION (0.0ms) begin transaction
4468
+ Crono::CronoJob Load (0.1ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4469
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4470
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4471
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.037694"], ["updated_at", "2022-07-24 19:36:20.037694"]]
4472
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4473
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4474
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? ORDER BY "crono_jobs"."id" ASC LIMIT ?  [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4475
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "updated_at" = ? WHERE "crono_jobs"."id" = ? [["updated_at", "2022-07-24 19:36:20.038530"], ["id", 1]]
4476
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4477
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4478
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4479
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4480
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4481
+ TRANSACTION (0.2ms) rollback transaction
4482
+ TRANSACTION (0.0ms) begin transaction
4483
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4484
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4485
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4486
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.040536"], ["updated_at", "2022-07-24 19:36:20.040536"]]
4487
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4488
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4489
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4490
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4491
+ TRANSACTION (0.2ms) rollback transaction
4492
+ TRANSACTION (0.0ms) begin transaction
4493
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4494
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4495
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4496
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.041962"], ["updated_at", "2022-07-24 19:36:20.041962"]]
4497
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4498
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4499
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4500
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4501
+ TRANSACTION (0.2ms) rollback transaction
4502
+ TRANSACTION (0.0ms) begin transaction
4503
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4504
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4505
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4506
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.044264"], ["updated_at", "2022-07-24 19:36:20.044264"]]
4507
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4508
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4509
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4510
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4511
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:20.042912 #17502] INFO -- : Perform TestJob\nE, [2022-07-24T22:36:20.043890 #17502] ERROR -- : Finished TestJob in 0.00 seconds with error: undefined method `perform' for nil:NilClass\n\n performer.new.perform\n ^^^^^^^^\nE, [2022-07-24T22:36:20.043906 #17502] ERROR -- : /Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-24 19:36:20.042916"], ["healthy", 0], ["updated_at", "2022-07-24 19:36:20.044917"], ["id", 1]]
4512
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4513
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4514
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4515
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4516
+ TRANSACTION (0.2ms) rollback transaction
4517
+ TRANSACTION (0.0ms) begin transaction
4518
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4519
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4520
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4521
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.046424"], ["updated_at", "2022-07-24 19:36:20.046424"]]
4522
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4523
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4524
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4525
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4526
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:20.045941 #17502] INFO -- : Perform TestJob\nI, [2022-07-24T22:36:20.046062 #17502] INFO -- : Finished TestJob in 0.00 seconds\n"], ["last_performed_at", "2022-07-24 19:36:20.045946"], ["healthy", 1], ["updated_at", "2022-07-24 19:36:20.047039"], ["id", 1]]
4527
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4528
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4529
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4530
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4531
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4532
+ TRANSACTION (0.1ms) rollback transaction
4533
+ TRANSACTION (0.0ms) begin transaction
4534
+ TRANSACTION (0.0ms) rollback transaction
4535
+ TRANSACTION (0.0ms) begin transaction
4536
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4537
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4538
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4539
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4540
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.049385"], ["updated_at", "2022-07-24 19:36:20.049385"]]
4541
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4542
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4543
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4544
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4545
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["updated_at", "2022-07-24 19:36:20.049999"], ["id", 1]]
4546
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4547
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4548
+ TRANSACTION (0.1ms) rollback transaction
4549
+ TRANSACTION (0.0ms) begin transaction
4550
+ Crono::CronoJob Load (0.1ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4551
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4552
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4553
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.056928"], ["updated_at", "2022-07-24 19:36:20.056928"]]
4554
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4555
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4556
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4557
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4558
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["last_performed_at", "2022-07-24 19:36:20.056336"], ["healthy", 1], ["updated_at", "2022-07-24 19:36:20.057672"], ["id", 1]]
4559
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4560
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4561
+ TRANSACTION (0.2ms) rollback transaction
4562
+ TRANSACTION (0.0ms) begin transaction
4563
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4564
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4565
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4566
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.059093"], ["updated_at", "2022-07-24 19:36:20.059093"]]
4567
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4568
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4569
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4570
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4571
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:20.058767 #17502] INFO -- : test message\n"], ["updated_at", "2022-07-24 19:36:20.059686"], ["id", 1]]
4572
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4573
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4574
+ TRANSACTION (0.2ms) rollback transaction
4575
+ TRANSACTION (0.0ms) begin transaction
4576
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4577
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4578
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4579
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.060896"], ["updated_at", "2022-07-24 19:36:20.060896"]]
4580
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4581
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4582
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4583
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4584
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:20.060577 #17502] INFO -- : line 1\nline 2\nline 3\nline 4\nline 5\nline 6\nline 7\nline 8\nline 9\nline 10\nline 11\nline 12\nline 13\nline 14\nline 15\nline 16\nline 17\nline 18\nline 19\nline 20\nline 21\nline 22\nline 23\nline 24\nline 25\nline 26\nline 27\nline 28\nline 29\nline 30\nline 31\nline 32\nline 33\nline 34\nline 35\nline 36\nline 37\nline 38\nline 39\nline 40\nline 41\nline 42\nline 43\nline 44\nline 45\nline 46\nline 47\nline 48\nline 49\nline 50\nline 51\nline 52\nline 53\nline 54\nline 55\nline 56\nline 57\nline 58\nline 59\nline 60\nline 61\nline 62\nline 63\nline 64\nline 65\nline 66\nline 67\nline 68\nline 69\nline 70\nline 71\nline 72\nline 73\nline 74\nline 75\nline 76\nline 77\nline 78\nline 79\nline 80\nline 81\nline 82\nline 83\nline 84\nline 85\nline 86\nline 87\nline 88\nline 89\nline 90\nline 91\nline 92\nline 93\nline 94\nline 95\nline 96\nline 97\nline 98\nline 99\nline 100\n"], ["updated_at", "2022-07-24 19:36:20.061568"], ["id", 1]]
4585
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4586
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4587
+ TRANSACTION (0.1ms) rollback transaction
4588
+ TRANSACTION (0.0ms) begin transaction
4589
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4590
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4591
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4592
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.062761"], ["updated_at", "2022-07-24 19:36:20.062761"]]
4593
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4594
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4595
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4596
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4597
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "line 51\nline 52\nline 53\nline 54\nline 55\nline 56\nline 57\nline 58\nline 59\nline 60\nline 61\nline 62\nline 63\nline 64\nline 65\nline 66\nline 67\nline 68\nline 69\nline 70\nline 71\nline 72\nline 73\nline 74\nline 75\nline 76\nline 77\nline 78\nline 79\nline 80\nline 81\nline 82\nline 83\nline 84\nline 85\nline 86\nline 87\nline 88\nline 89\nline 90\nline 91\nline 92\nline 93\nline 94\nline 95\nline 96\nline 97\nline 98\nline 99\nline 100\n"], ["updated_at", "2022-07-24 19:36:20.063395"], ["id", 1]]
4598
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4599
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4600
+ TRANSACTION (0.2ms) rollback transaction
4601
+ TRANSACTION (0.0ms) begin transaction
4602
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4603
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4604
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4605
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:20.064623"], ["updated_at", "2022-07-24 19:36:20.064623"]]
4606
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4607
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4608
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4609
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4610
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["last_performed_at", "2022-07-24 19:36:20.064325"], ["updated_at", "2022-07-24 19:36:20.065186"], ["id", 1]]
4611
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4612
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4613
+ TRANSACTION (0.1ms) rollback transaction
4614
+ TRANSACTION (0.0ms) begin transaction
4615
+ TRANSACTION (0.0ms) rollback transaction
4616
+ TRANSACTION (0.0ms) begin transaction
4617
+ TRANSACTION (0.0ms) rollback transaction
4618
+ TRANSACTION (0.0ms) begin transaction
4619
+ TRANSACTION (0.0ms) rollback transaction
4620
+ TRANSACTION (0.0ms) begin transaction
4621
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" IS NULL LIMIT ? [["LIMIT", 1]]
4622
+ TRANSACTION (0.0ms) rollback transaction
4623
+ TRANSACTION (0.0ms) begin transaction
4624
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4625
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
4626
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "TestJob every 2 days"], ["created_at", "2022-07-24 19:36:20.068036"], ["updated_at", "2022-07-24 19:36:20.068036"]]
4627
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4628
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4629
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
4630
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
4631
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
4632
+ TRANSACTION (0.2ms) rollback transaction
4633
+ TRANSACTION (0.0ms) begin transaction
4634
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4635
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 3 days"], ["LIMIT", 1]]
4636
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 3 days"], ["created_at", "2022-07-24 19:36:20.069361"], ["updated_at", "2022-07-24 19:36:20.069361"]]
4637
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4638
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 3 days"], ["LIMIT", 1]]
4639
+ TRANSACTION (0.1ms) rollback transaction
4640
+ TRANSACTION (0.0ms) begin transaction
4641
+ TRANSACTION (0.0ms) rollback transaction
4642
+ TRANSACTION (0.0ms) begin transaction
4643
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:30"], ["LIMIT", 1]]
4644
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4645
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:30"], ["LIMIT", 1]]
4646
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:30"], ["created_at", "2022-07-24 19:36:20.071205"], ["updated_at", "2022-07-24 19:36:20.071205"]]
4647
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4648
+ TRANSACTION (0.2ms) rollback transaction
4649
+ TRANSACTION (0.0ms) begin transaction
4650
+ TRANSACTION (0.0ms) rollback transaction
4651
+ TRANSACTION (0.0ms) begin transaction
4652
+ TRANSACTION (0.0ms) rollback transaction
4653
+ TRANSACTION (0.0ms) begin transaction
4654
+ TRANSACTION (0.0ms) rollback transaction
4655
+ TRANSACTION (0.0ms) begin transaction
4656
+ TRANSACTION (0.0ms) rollback transaction
4657
+ TRANSACTION (0.0ms) begin transaction
4658
+ TRANSACTION (0.0ms) rollback transaction
4659
+ TRANSACTION (0.0ms) begin transaction
4660
+ TRANSACTION (0.0ms) rollback transaction
4661
+ TRANSACTION (0.0ms) begin transaction
4662
+ TRANSACTION (0.0ms) rollback transaction
4663
+ TRANSACTION (0.0ms) begin transaction
4664
+ TRANSACTION (0.0ms) rollback transaction
4665
+ TRANSACTION (0.0ms) begin transaction
4666
+ TRANSACTION (0.0ms) rollback transaction
4667
+ TRANSACTION (0.0ms) begin transaction
4668
+ TRANSACTION (0.0ms) rollback transaction
4669
+ TRANSACTION (0.0ms) begin transaction
4670
+ TRANSACTION (0.0ms) rollback transaction
4671
+ TRANSACTION (0.0ms) begin transaction
4672
+ TRANSACTION (0.0ms) rollback transaction
4673
+ TRANSACTION (0.0ms) begin transaction
4674
+ TRANSACTION (0.0ms) rollback transaction
4675
+ TRANSACTION (0.0ms) begin transaction
4676
+ TRANSACTION (0.0ms) rollback transaction
4677
+ TRANSACTION (0.0ms) begin transaction
4678
+ TRANSACTION (0.0ms) rollback transaction
4679
+ TRANSACTION (0.0ms) begin transaction
4680
+ TRANSACTION (0.0ms) rollback transaction
4681
+ TRANSACTION (0.0ms) begin transaction
4682
+ TRANSACTION (0.0ms) rollback transaction
4683
+ TRANSACTION (0.0ms) begin transaction
4684
+ TRANSACTION (0.0ms) rollback transaction
4685
+ TRANSACTION (0.0ms) begin transaction
4686
+ TRANSACTION (0.0ms) rollback transaction
4687
+ TRANSACTION (0.0ms) begin transaction
4688
+ TRANSACTION (0.0ms) rollback transaction
4689
+ TRANSACTION (0.0ms) begin transaction
4690
+ TRANSACTION (0.0ms) rollback transaction
4691
+ TRANSACTION (0.0ms) begin transaction
4692
+ TRANSACTION (0.0ms) rollback transaction
4693
+ TRANSACTION (0.0ms) begin transaction
4694
+ TRANSACTION (0.0ms) rollback transaction
4695
+ TRANSACTION (0.0ms) begin transaction
4696
+ TRANSACTION (0.0ms) rollback transaction
4697
+ TRANSACTION (0.0ms) begin transaction
4698
+ TRANSACTION (0.0ms) rollback transaction
4699
+ TRANSACTION (0.0ms) begin transaction
4700
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4701
+ Crono::CronoJob Exists? (0.1ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "used_job"], ["LIMIT", 1]]
4702
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "used_job"], ["created_at", "2022-07-24 19:36:24.080926"], ["updated_at", "2022-07-24 19:36:24.080926"]]
4703
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4704
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE 1=1
4705
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4706
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4707
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4708
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "used_job"], ["LIMIT", 1]]
4709
+ TRANSACTION (0.2ms) rollback transaction
4710
+ TRANSACTION (0.0ms) begin transaction
4711
+ TRANSACTION (0.0ms) rollback transaction
4712
+ TRANSACTION (0.0ms) begin transaction
4713
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4714
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4715
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4716
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:36:24.083319"], ["updated_at", "2022-07-24 19:36:24.083319"]]
4717
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4718
+ Processing by Crono::JobsController#index as HTML
4719
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4720
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
4721
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4722
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.8ms | Allocations: 843)
4723
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 7.4ms | Allocations: 12133)
4724
+ Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 0.0ms | Allocations: 15842)
4725
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4726
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4727
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4728
+ TRANSACTION (0.2ms) rollback transaction
4729
+ TRANSACTION (0.0ms) begin transaction
4730
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4731
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
4732
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4733
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:36:24.105657"], ["updated_at", "2022-07-24 19:36:24.105657"]]
4734
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4735
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4736
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
4737
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["last_performed_at", "2022-07-24 19:26:24.106079"], ["healthy", 0], ["updated_at", "2022-07-24 19:36:24.106361"], ["id", 1]]
4738
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4739
+ Processing by Crono::JobsController#index as HTML
4740
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4741
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
4742
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4743
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.2ms | Allocations: 216)
4744
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.6ms | Allocations: 1651)
4745
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 2020)
4746
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4747
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4748
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4749
+ TRANSACTION (0.2ms) rollback transaction
4750
+ TRANSACTION (0.0ms) begin transaction
4751
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4752
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4753
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4754
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:36:24.108786"], ["updated_at", "2022-07-24 19:36:24.108786"]]
4755
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4756
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4757
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
4758
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["last_performed_at", "2022-07-24 19:26:24.109349"], ["healthy", 1], ["updated_at", "2022-07-24 19:36:24.109682"], ["id", 1]]
4759
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4760
+ Processing by Crono::JobsController#index as HTML
4761
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4762
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
4763
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4764
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.3ms | Allocations: 204)
4765
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.8ms | Allocations: 1639)
4766
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms | Allocations: 2007)
4767
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4768
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4769
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4770
+ TRANSACTION (0.2ms) rollback transaction
4771
+ TRANSACTION (0.0ms) begin transaction
4772
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4773
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4774
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4775
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:36:24.112839"], ["updated_at", "2022-07-24 19:36:24.112839"]]
4776
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4777
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4778
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
4779
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4780
+ Processing by Crono::JobsController#index as HTML
4781
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4782
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
4783
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4784
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 136)
4785
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.5ms | Allocations: 1584)
4786
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 1952)
4787
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4788
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4789
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4790
+ TRANSACTION (0.2ms) rollback transaction
4791
+ TRANSACTION (0.0ms) begin transaction
4792
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4793
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4794
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4795
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:36:24.115679"], ["updated_at", "2022-07-24 19:36:24.115679"]]
4796
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4797
+ Processing by Crono::JobsController#show as HTML
4798
+ Parameters: {"id"=>"1"}
4799
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4800
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4801
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application
4802
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application (Duration: 0.3ms | Allocations: 242)
4803
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.6ms | Allocations: 1667)
4804
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 2421)
4805
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4806
+ Crono::CronoJob Destroy (0.1ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4807
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4808
+ TRANSACTION (0.2ms) rollback transaction
4809
+ TRANSACTION (0.0ms) begin transaction
4810
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
4811
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4812
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
4813
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:36:24.118624"], ["updated_at", "2022-07-24 19:36:24.118624"]]
4814
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4815
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
4816
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
4817
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["healthy", 0], ["updated_at", "2022-07-24 19:36:24.119226"], ["id", 1]]
4818
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4819
+ Processing by Crono::JobsController#show as HTML
4820
+ Parameters: {"id"=>"1"}
4821
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4822
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
4823
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application
4824
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application (Duration: 0.0ms | Allocations: 46)
4825
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.4ms | Allocations: 1471)
4826
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 1960)
4827
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4828
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4829
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4830
+ TRANSACTION (0.2ms) rollback transaction
4831
+  (0.6ms) SELECT sqlite_version(*)
4832
+  (0.0ms) SELECT sqlite_version(*)
4833
+  (0.4ms) CREATE TABLE "crono_jobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "job_id" varchar NOT NULL, "log" text(1073741823), "last_performed_at" datetime(6), "healthy" boolean, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
4834
+  (0.3ms) CREATE UNIQUE INDEX "index_crono_jobs_on_job_id" ON "crono_jobs" ("job_id")
4835
+  (0.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
4836
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
4837
+ TRANSACTION (0.0ms) begin transaction
4838
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2022-07-24 19:36:58.177466"], ["updated_at", "2022-07-24 19:36:58.177466"]]
4839
+ TRANSACTION (0.2ms) commit transaction
4840
+  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
4841
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
4842
+  (0.0ms) SELECT sqlite_version(*)
4843
+ TRANSACTION (0.0ms) begin transaction
4844
+ TRANSACTION (0.0ms) rollback transaction
4845
+ TRANSACTION (0.0ms) begin transaction
4846
+ TRANSACTION (0.0ms) rollback transaction
4847
+ TRANSACTION (0.0ms) begin transaction
4848
+ TRANSACTION (0.0ms) rollback transaction
4849
+ TRANSACTION (0.0ms) begin transaction
4850
+ TRANSACTION (0.0ms) rollback transaction
4851
+ TRANSACTION (0.0ms) begin transaction
4852
+ TRANSACTION (0.0ms) rollback transaction
4853
+ TRANSACTION (0.0ms) begin transaction
4854
+ TRANSACTION (0.0ms) rollback transaction
4855
+ TRANSACTION (0.0ms) begin transaction
4856
+ TRANSACTION (0.0ms) rollback transaction
4857
+ TRANSACTION (0.0ms) begin transaction
4858
+ TRANSACTION (0.0ms) rollback transaction
4859
+ TRANSACTION (0.0ms) begin transaction
4860
+ TRANSACTION (0.0ms) rollback transaction
4861
+ TRANSACTION (0.0ms) begin transaction
4862
+ TRANSACTION (0.0ms) rollback transaction
4863
+ TRANSACTION (0.0ms) begin transaction
4864
+ TRANSACTION (0.0ms) rollback transaction
4865
+ TRANSACTION (0.0ms) begin transaction
4866
+ TRANSACTION (0.0ms) rollback transaction
4867
+ TRANSACTION (0.0ms) begin transaction
4868
+ TRANSACTION (0.0ms) rollback transaction
4869
+ TRANSACTION (0.0ms) begin transaction
4870
+ TRANSACTION (0.0ms) rollback transaction
4871
+ TRANSACTION (0.0ms) begin transaction
4872
+ TRANSACTION (0.0ms) rollback transaction
4873
+ TRANSACTION (0.0ms) begin transaction
4874
+ TRANSACTION (0.0ms) rollback transaction
4875
+ TRANSACTION (0.0ms) begin transaction
4876
+ TRANSACTION (0.0ms) rollback transaction
4877
+ TRANSACTION (0.0ms) begin transaction
4878
+ TRANSACTION (0.0ms) rollback transaction
4879
+ TRANSACTION (0.0ms) begin transaction
4880
+ TRANSACTION (0.0ms) rollback transaction
4881
+ TRANSACTION (0.0ms) begin transaction
4882
+ TRANSACTION (0.0ms) rollback transaction
4883
+ TRANSACTION (0.0ms) begin transaction
4884
+ TRANSACTION (0.0ms) rollback transaction
4885
+ TRANSACTION (0.0ms) begin transaction
4886
+ TRANSACTION (0.0ms) rollback transaction
4887
+ TRANSACTION (0.0ms) begin transaction
4888
+ TRANSACTION (0.0ms) rollback transaction
4889
+ TRANSACTION (0.0ms) begin transaction
4890
+ TRANSACTION (0.0ms) rollback transaction
4891
+ TRANSACTION (0.0ms) begin transaction
4892
+ TRANSACTION (0.0ms) rollback transaction
4893
+ TRANSACTION (0.0ms) begin transaction
4894
+ TRANSACTION (0.0ms) rollback transaction
4895
+ TRANSACTION (0.0ms) begin transaction
4896
+ TRANSACTION (0.0ms) rollback transaction
4897
+ TRANSACTION (0.0ms) begin transaction
4898
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4899
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4900
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4901
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.379236"], ["updated_at", "2022-07-24 19:36:58.379236"]]
4902
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4903
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4904
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4905
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4906
+ TRANSACTION (0.2ms) rollback transaction
4907
+ TRANSACTION (0.0ms) begin transaction
4908
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
4909
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4910
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
4911
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.380853"], ["updated_at", "2022-07-24 19:36:58.380853"]]
4912
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4913
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4914
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4915
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4916
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:58.380371 #17573] INFO -- : Perform TestFailingJob\nE, [2022-07-24T22:36:58.380436 #17573] ERROR -- : Finished TestFailingJob in 0.00 seconds with error: Some error\nE, [2022-07-24T22:36:58.380450 #17573] ERROR -- : /Users/dima/dev/crono/spec/job_spec.rb:11:in `perform'\n/Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-24 19:36:58.380376"], ["healthy", 0], ["updated_at", "2022-07-24 19:36:58.381602"], ["id", 1]]
4917
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4918
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
4919
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4920
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4921
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4922
+ Crono::CronoJob Create (0.0ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.383495"], ["updated_at", "2022-07-24 19:36:58.383495"]]
4923
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4924
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4925
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 2]]
4926
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4927
+ TRANSACTION (0.1ms) rollback transaction
4928
+ TRANSACTION (0.0ms) begin transaction
4929
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
4930
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4931
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
4932
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.384755"], ["updated_at", "2022-07-24 19:36:58.384755"]]
4933
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4934
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4935
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4936
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4937
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:58.384298 #17573] INFO -- : Perform TestFailingJob\nE, [2022-07-24T22:36:58.384380 #17573] ERROR -- : Finished TestFailingJob in 0.00 seconds with error: Some error\nE, [2022-07-24T22:36:58.384394 #17573] ERROR -- : /Users/dima/dev/crono/spec/job_spec.rb:11:in `perform'\n/Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-24 19:36:58.384303"], ["healthy", 0], ["updated_at", "2022-07-24 19:36:58.385415"], ["id", 1]]
4938
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4939
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4940
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4941
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4942
+ Crono::CronoJob Create (0.0ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.385989"], ["updated_at", "2022-07-24 19:36:58.385989"]]
4943
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4944
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4945
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 2]]
4946
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4947
+ TRANSACTION (0.2ms) rollback transaction
4948
+ TRANSACTION (0.0ms) begin transaction
4949
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4950
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4951
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4952
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.387146"], ["updated_at", "2022-07-24 19:36:58.387146"]]
4953
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4954
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4955
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? ORDER BY "crono_jobs"."id" ASC LIMIT ?  [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4956
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "updated_at" = ? WHERE "crono_jobs"."id" = ? [["updated_at", "2022-07-24 19:36:58.387747"], ["id", 1]]
4957
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4958
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4959
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4960
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4961
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4962
+ TRANSACTION (0.2ms) rollback transaction
4963
+ TRANSACTION (0.0ms) begin transaction
4964
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4965
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4966
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4967
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.389357"], ["updated_at", "2022-07-24 19:36:58.389357"]]
4968
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4969
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4970
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4971
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4972
+ TRANSACTION (0.2ms) rollback transaction
4973
+ TRANSACTION (0.0ms) begin transaction
4974
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4975
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4976
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4977
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.391332"], ["updated_at", "2022-07-24 19:36:58.391332"]]
4978
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4979
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4980
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4981
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4982
+ TRANSACTION (0.2ms) rollback transaction
4983
+ TRANSACTION (0.0ms) begin transaction
4984
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4985
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4986
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
4987
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.394090"], ["updated_at", "2022-07-24 19:36:58.394090"]]
4988
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4989
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
4990
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4991
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
4992
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:58.392645 #17573] INFO -- : Perform TestJob\nE, [2022-07-24T22:36:58.393662 #17573] ERROR -- : Finished TestJob in 0.00 seconds with error: undefined method `perform' for nil:NilClass\n\n performer.new.perform\n ^^^^^^^^\nE, [2022-07-24T22:36:58.393678 #17573] ERROR -- : /Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-24 19:36:58.392649"], ["healthy", 0], ["updated_at", "2022-07-24 19:36:58.394825"], ["id", 1]]
4993
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4994
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
4995
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
4996
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
4997
+ TRANSACTION (0.2ms) rollback transaction
4998
+ TRANSACTION (0.0ms) begin transaction
4999
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5000
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5001
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5002
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.396317"], ["updated_at", "2022-07-24 19:36:58.396317"]]
5003
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5004
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5005
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5006
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5007
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:58.395869 #17573] INFO -- : Perform TestJob\nI, [2022-07-24T22:36:58.395973 #17573] INFO -- : Finished TestJob in 0.00 seconds\n"], ["last_performed_at", "2022-07-24 19:36:58.395874"], ["healthy", 1], ["updated_at", "2022-07-24 19:36:58.396943"], ["id", 1]]
5008
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5009
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5010
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5011
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5012
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5013
+ TRANSACTION (0.1ms) rollback transaction
5014
+ TRANSACTION (0.0ms) begin transaction
5015
+ TRANSACTION (0.0ms) rollback transaction
5016
+ TRANSACTION (0.0ms) begin transaction
5017
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5018
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5019
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5020
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5021
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.399223"], ["updated_at", "2022-07-24 19:36:58.399223"]]
5022
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5023
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5024
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5025
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5026
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["updated_at", "2022-07-24 19:36:58.399855"], ["id", 1]]
5027
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5028
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5029
+ TRANSACTION (0.1ms) rollback transaction
5030
+ TRANSACTION (0.0ms) begin transaction
5031
+ Crono::CronoJob Load (0.1ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5032
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5033
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5034
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.406714"], ["updated_at", "2022-07-24 19:36:58.406714"]]
5035
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5036
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5037
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5038
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5039
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["last_performed_at", "2022-07-24 19:36:58.406134"], ["healthy", 1], ["updated_at", "2022-07-24 19:36:58.407479"], ["id", 1]]
5040
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5041
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5042
+ TRANSACTION (0.3ms) rollback transaction
5043
+ TRANSACTION (0.0ms) begin transaction
5044
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5045
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5046
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5047
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.408914"], ["updated_at", "2022-07-24 19:36:58.408914"]]
5048
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5049
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5050
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5051
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5052
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:58.408576 #17573] INFO -- : test message\n"], ["updated_at", "2022-07-24 19:36:58.409515"], ["id", 1]]
5053
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5054
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5055
+ TRANSACTION (0.1ms) rollback transaction
5056
+ TRANSACTION (0.0ms) begin transaction
5057
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5058
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5059
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5060
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.410716"], ["updated_at", "2022-07-24 19:36:58.410716"]]
5061
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5062
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5063
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5064
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5065
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:36:58.410406 #17573] INFO -- : line 1\nline 2\nline 3\nline 4\nline 5\nline 6\nline 7\nline 8\nline 9\nline 10\nline 11\nline 12\nline 13\nline 14\nline 15\nline 16\nline 17\nline 18\nline 19\nline 20\nline 21\nline 22\nline 23\nline 24\nline 25\nline 26\nline 27\nline 28\nline 29\nline 30\nline 31\nline 32\nline 33\nline 34\nline 35\nline 36\nline 37\nline 38\nline 39\nline 40\nline 41\nline 42\nline 43\nline 44\nline 45\nline 46\nline 47\nline 48\nline 49\nline 50\nline 51\nline 52\nline 53\nline 54\nline 55\nline 56\nline 57\nline 58\nline 59\nline 60\nline 61\nline 62\nline 63\nline 64\nline 65\nline 66\nline 67\nline 68\nline 69\nline 70\nline 71\nline 72\nline 73\nline 74\nline 75\nline 76\nline 77\nline 78\nline 79\nline 80\nline 81\nline 82\nline 83\nline 84\nline 85\nline 86\nline 87\nline 88\nline 89\nline 90\nline 91\nline 92\nline 93\nline 94\nline 95\nline 96\nline 97\nline 98\nline 99\nline 100\n"], ["updated_at", "2022-07-24 19:36:58.411402"], ["id", 1]]
5066
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5067
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5068
+ TRANSACTION (0.1ms) rollback transaction
5069
+ TRANSACTION (0.0ms) begin transaction
5070
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5071
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5072
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5073
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.412570"], ["updated_at", "2022-07-24 19:36:58.412570"]]
5074
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5075
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5076
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5077
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5078
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "line 51\nline 52\nline 53\nline 54\nline 55\nline 56\nline 57\nline 58\nline 59\nline 60\nline 61\nline 62\nline 63\nline 64\nline 65\nline 66\nline 67\nline 68\nline 69\nline 70\nline 71\nline 72\nline 73\nline 74\nline 75\nline 76\nline 77\nline 78\nline 79\nline 80\nline 81\nline 82\nline 83\nline 84\nline 85\nline 86\nline 87\nline 88\nline 89\nline 90\nline 91\nline 92\nline 93\nline 94\nline 95\nline 96\nline 97\nline 98\nline 99\nline 100\n"], ["updated_at", "2022-07-24 19:36:58.413158"], ["id", 1]]
5079
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5080
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5081
+ TRANSACTION (0.1ms) rollback transaction
5082
+ TRANSACTION (0.0ms) begin transaction
5083
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5084
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5085
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5086
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:36:58.414347"], ["updated_at", "2022-07-24 19:36:58.414347"]]
5087
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5088
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5089
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5090
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5091
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["last_performed_at", "2022-07-24 19:36:58.414041"], ["updated_at", "2022-07-24 19:36:58.414920"], ["id", 1]]
5092
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5093
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5094
+ TRANSACTION (0.1ms) rollback transaction
5095
+ TRANSACTION (0.0ms) begin transaction
5096
+ TRANSACTION (0.0ms) rollback transaction
5097
+ TRANSACTION (0.0ms) begin transaction
5098
+ TRANSACTION (0.0ms) rollback transaction
5099
+ TRANSACTION (0.0ms) begin transaction
5100
+ TRANSACTION (0.0ms) rollback transaction
5101
+ TRANSACTION (0.0ms) begin transaction
5102
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" IS NULL LIMIT ? [["LIMIT", 1]]
5103
+ TRANSACTION (0.0ms) rollback transaction
5104
+ TRANSACTION (0.0ms) begin transaction
5105
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5106
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
5107
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "TestJob every 2 days"], ["created_at", "2022-07-24 19:36:58.417718"], ["updated_at", "2022-07-24 19:36:58.417718"]]
5108
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5109
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5110
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
5111
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
5112
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
5113
+ TRANSACTION (0.1ms) rollback transaction
5114
+ TRANSACTION (0.0ms) begin transaction
5115
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5116
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 3 days"], ["LIMIT", 1]]
5117
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 3 days"], ["created_at", "2022-07-24 19:36:58.419030"], ["updated_at", "2022-07-24 19:36:58.419030"]]
5118
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5119
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 3 days"], ["LIMIT", 1]]
5120
+ TRANSACTION (0.1ms) rollback transaction
5121
+ TRANSACTION (0.0ms) begin transaction
5122
+ TRANSACTION (0.0ms) rollback transaction
5123
+ TRANSACTION (0.0ms) begin transaction
5124
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:30"], ["LIMIT", 1]]
5125
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5126
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:30"], ["LIMIT", 1]]
5127
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:30"], ["created_at", "2022-07-24 19:36:58.420878"], ["updated_at", "2022-07-24 19:36:58.420878"]]
5128
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5129
+ TRANSACTION (0.1ms) rollback transaction
5130
+ TRANSACTION (0.0ms) begin transaction
5131
+ TRANSACTION (0.0ms) rollback transaction
5132
+ TRANSACTION (0.0ms) begin transaction
5133
+ TRANSACTION (0.0ms) rollback transaction
5134
+ TRANSACTION (0.0ms) begin transaction
5135
+ TRANSACTION (0.0ms) rollback transaction
5136
+ TRANSACTION (0.0ms) begin transaction
5137
+ TRANSACTION (0.0ms) rollback transaction
5138
+ TRANSACTION (0.0ms) begin transaction
5139
+ TRANSACTION (0.0ms) rollback transaction
5140
+ TRANSACTION (0.0ms) begin transaction
5141
+ TRANSACTION (0.0ms) rollback transaction
5142
+ TRANSACTION (0.0ms) begin transaction
5143
+ TRANSACTION (0.0ms) rollback transaction
5144
+ TRANSACTION (0.0ms) begin transaction
5145
+ TRANSACTION (0.0ms) rollback transaction
5146
+ TRANSACTION (0.0ms) begin transaction
5147
+ TRANSACTION (0.0ms) rollback transaction
5148
+ TRANSACTION (0.0ms) begin transaction
5149
+ TRANSACTION (0.0ms) rollback transaction
5150
+ TRANSACTION (0.0ms) begin transaction
5151
+ TRANSACTION (0.0ms) rollback transaction
5152
+ TRANSACTION (0.0ms) begin transaction
5153
+ TRANSACTION (0.0ms) rollback transaction
5154
+ TRANSACTION (0.0ms) begin transaction
5155
+ TRANSACTION (0.0ms) rollback transaction
5156
+ TRANSACTION (0.0ms) begin transaction
5157
+ TRANSACTION (0.0ms) rollback transaction
5158
+ TRANSACTION (0.0ms) begin transaction
5159
+ TRANSACTION (0.0ms) rollback transaction
5160
+ TRANSACTION (0.0ms) begin transaction
5161
+ TRANSACTION (0.0ms) rollback transaction
5162
+ TRANSACTION (0.0ms) begin transaction
5163
+ TRANSACTION (0.0ms) rollback transaction
5164
+ TRANSACTION (0.0ms) begin transaction
5165
+ TRANSACTION (0.0ms) rollback transaction
5166
+ TRANSACTION (0.0ms) begin transaction
5167
+ TRANSACTION (0.0ms) rollback transaction
5168
+ TRANSACTION (0.0ms) begin transaction
5169
+ TRANSACTION (0.0ms) rollback transaction
5170
+ TRANSACTION (0.0ms) begin transaction
5171
+ TRANSACTION (0.0ms) rollback transaction
5172
+ TRANSACTION (0.0ms) begin transaction
5173
+ TRANSACTION (0.0ms) rollback transaction
5174
+ TRANSACTION (0.0ms) begin transaction
5175
+ TRANSACTION (0.0ms) rollback transaction
5176
+ TRANSACTION (0.0ms) begin transaction
5177
+ TRANSACTION (0.0ms) rollback transaction
5178
+ TRANSACTION (0.0ms) begin transaction
5179
+ TRANSACTION (0.0ms) rollback transaction
5180
+ TRANSACTION (0.0ms) begin transaction
5181
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5182
+ Crono::CronoJob Exists? (0.1ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "used_job"], ["LIMIT", 1]]
5183
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "used_job"], ["created_at", "2022-07-24 19:37:02.430529"], ["updated_at", "2022-07-24 19:37:02.430529"]]
5184
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5185
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE 1=1
5186
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5187
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5188
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5189
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "used_job"], ["LIMIT", 1]]
5190
+ TRANSACTION (0.2ms) rollback transaction
5191
+ TRANSACTION (0.0ms) begin transaction
5192
+ TRANSACTION (0.0ms) rollback transaction
5193
+ TRANSACTION (0.0ms) begin transaction
5194
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5195
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5196
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5197
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:37:02.432926"], ["updated_at", "2022-07-24 19:37:02.432926"]]
5198
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5199
+ Processing by Crono::JobsController#index as HTML
5200
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5201
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
5202
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5203
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.8ms | Allocations: 843)
5204
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 7.1ms | Allocations: 12131)
5205
+ Completed 200 OK in 12ms (Views: 8.8ms | ActiveRecord: 0.0ms | Allocations: 15840)
5206
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5207
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5208
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5209
+ TRANSACTION (0.2ms) rollback transaction
5210
+ TRANSACTION (0.0ms) begin transaction
5211
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5212
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5213
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5214
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:37:02.454419"], ["updated_at", "2022-07-24 19:37:02.454419"]]
5215
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5216
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5217
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
5218
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["last_performed_at", "2022-07-24 19:27:02.454991"], ["healthy", 0], ["updated_at", "2022-07-24 19:37:02.455276"], ["id", 1]]
5219
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5220
+ Processing by Crono::JobsController#index as HTML
5221
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5222
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
5223
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5224
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.2ms | Allocations: 216)
5225
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.6ms | Allocations: 1651)
5226
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 2020)
5227
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5228
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5229
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5230
+ TRANSACTION (0.2ms) rollback transaction
5231
+ TRANSACTION (0.0ms) begin transaction
5232
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5233
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5234
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5235
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:37:02.457588"], ["updated_at", "2022-07-24 19:37:02.457588"]]
5236
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5237
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5238
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
5239
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["last_performed_at", "2022-07-24 19:27:02.457933"], ["healthy", 1], ["updated_at", "2022-07-24 19:37:02.458177"], ["id", 1]]
5240
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5241
+ Processing by Crono::JobsController#index as HTML
5242
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5243
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
5244
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5245
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 204)
5246
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.5ms | Allocations: 1639)
5247
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 2007)
5248
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5249
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5250
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5251
+ TRANSACTION (0.2ms) rollback transaction
5252
+ TRANSACTION (0.0ms) begin transaction
5253
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5254
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5255
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5256
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:37:02.460157"], ["updated_at", "2022-07-24 19:37:02.460157"]]
5257
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5258
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5259
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
5260
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5261
+ Processing by Crono::JobsController#index as HTML
5262
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5263
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
5264
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5265
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 136)
5266
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.5ms | Allocations: 1584)
5267
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 1952)
5268
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5269
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5270
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5271
+ TRANSACTION (0.1ms) rollback transaction
5272
+ TRANSACTION (0.0ms) begin transaction
5273
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5274
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
5275
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5276
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:37:02.462616"], ["updated_at", "2022-07-24 19:37:02.462616"]]
5277
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5278
+ Processing by Crono::JobsController#show as HTML
5279
+ Parameters: {"id"=>"1"}
5280
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5281
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5282
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application
5283
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application (Duration: 0.4ms | Allocations: 242)
5284
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.8ms | Allocations: 1667)
5285
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms | Allocations: 2422)
5286
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5287
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5288
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5289
+ TRANSACTION (0.2ms) rollback transaction
5290
+ TRANSACTION (0.0ms) begin transaction
5291
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5292
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5293
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5294
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:37:02.466429"], ["updated_at", "2022-07-24 19:37:02.466429"]]
5295
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5296
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5297
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
5298
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["healthy", 0], ["updated_at", "2022-07-24 19:37:02.467116"], ["id", 1]]
5299
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5300
+ Processing by Crono::JobsController#show as HTML
5301
+ Parameters: {"id"=>"1"}
5302
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5303
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5304
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application
5305
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 46)
5306
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.5ms | Allocations: 1471)
5307
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 1960)
5308
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5309
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5310
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5311
+ TRANSACTION (0.2ms) rollback transaction
5312
+  (0.6ms) SELECT sqlite_version(*)
5313
+  (0.0ms) SELECT sqlite_version(*)
5314
+  (0.4ms) CREATE TABLE "crono_jobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "job_id" varchar NOT NULL, "log" text(1073741823), "last_performed_at" datetime(6), "healthy" boolean, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
5315
+  (0.3ms) CREATE UNIQUE INDEX "index_crono_jobs_on_job_id" ON "crono_jobs" ("job_id")
5316
+  (0.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
5317
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
5318
+ TRANSACTION (0.0ms) begin transaction
5319
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2022-07-24 19:49:44.789898"], ["updated_at", "2022-07-24 19:49:44.789898"]]
5320
+ TRANSACTION (0.2ms) commit transaction
5321
+  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
5322
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
5323
+  (0.0ms) SELECT sqlite_version(*)
5324
+ TRANSACTION (0.0ms) begin transaction
5325
+ TRANSACTION (0.0ms) rollback transaction
5326
+ TRANSACTION (0.0ms) begin transaction
5327
+ TRANSACTION (0.0ms) rollback transaction
5328
+ TRANSACTION (0.0ms) begin transaction
5329
+ TRANSACTION (0.0ms) rollback transaction
5330
+ TRANSACTION (0.0ms) begin transaction
5331
+ TRANSACTION (0.0ms) rollback transaction
5332
+ TRANSACTION (0.0ms) begin transaction
5333
+ TRANSACTION (0.0ms) rollback transaction
5334
+ TRANSACTION (0.0ms) begin transaction
5335
+ TRANSACTION (0.0ms) rollback transaction
5336
+ TRANSACTION (0.0ms) begin transaction
5337
+ TRANSACTION (0.0ms) rollback transaction
5338
+ TRANSACTION (0.0ms) begin transaction
5339
+ TRANSACTION (0.0ms) rollback transaction
5340
+ TRANSACTION (0.0ms) begin transaction
5341
+ TRANSACTION (0.0ms) rollback transaction
5342
+ TRANSACTION (0.0ms) begin transaction
5343
+ TRANSACTION (0.0ms) rollback transaction
5344
+ TRANSACTION (0.0ms) begin transaction
5345
+ TRANSACTION (0.0ms) rollback transaction
5346
+ TRANSACTION (0.0ms) begin transaction
5347
+ TRANSACTION (0.0ms) rollback transaction
5348
+ TRANSACTION (0.0ms) begin transaction
5349
+ TRANSACTION (0.0ms) rollback transaction
5350
+ TRANSACTION (0.0ms) begin transaction
5351
+ TRANSACTION (0.0ms) rollback transaction
5352
+ TRANSACTION (0.0ms) begin transaction
5353
+ TRANSACTION (0.0ms) rollback transaction
5354
+ TRANSACTION (0.0ms) begin transaction
5355
+ TRANSACTION (0.0ms) rollback transaction
5356
+ TRANSACTION (0.0ms) begin transaction
5357
+ TRANSACTION (0.0ms) rollback transaction
5358
+ TRANSACTION (0.0ms) begin transaction
5359
+ TRANSACTION (0.0ms) rollback transaction
5360
+ TRANSACTION (0.0ms) begin transaction
5361
+ TRANSACTION (0.0ms) rollback transaction
5362
+ TRANSACTION (0.0ms) begin transaction
5363
+ TRANSACTION (0.0ms) rollback transaction
5364
+ TRANSACTION (0.0ms) begin transaction
5365
+ TRANSACTION (0.0ms) rollback transaction
5366
+ TRANSACTION (0.0ms) begin transaction
5367
+ TRANSACTION (0.0ms) rollback transaction
5368
+ TRANSACTION (0.0ms) begin transaction
5369
+ TRANSACTION (0.0ms) rollback transaction
5370
+ TRANSACTION (0.0ms) begin transaction
5371
+ TRANSACTION (0.0ms) rollback transaction
5372
+ TRANSACTION (0.0ms) begin transaction
5373
+ TRANSACTION (0.0ms) rollback transaction
5374
+ TRANSACTION (0.0ms) begin transaction
5375
+ TRANSACTION (0.0ms) rollback transaction
5376
+ TRANSACTION (0.0ms) begin transaction
5377
+ TRANSACTION (0.0ms) rollback transaction
5378
+ TRANSACTION (0.0ms) begin transaction
5379
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5380
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5381
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5382
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:44.989503"], ["updated_at", "2022-07-24 19:49:44.989503"]]
5383
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5384
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5385
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5386
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5387
+ TRANSACTION (0.2ms) rollback transaction
5388
+ TRANSACTION (0.0ms) begin transaction
5389
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
5390
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5391
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
5392
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:44.991171"], ["updated_at", "2022-07-24 19:49:44.991171"]]
5393
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5394
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5395
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5396
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5397
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:49:44.990668 #18325] INFO -- : Perform TestFailingJob\nE, [2022-07-24T22:49:44.990735 #18325] ERROR -- : Finished TestFailingJob in 0.00 seconds with error: Some error\nE, [2022-07-24T22:49:44.990747 #18325] ERROR -- : /Users/dima/dev/crono/spec/job_spec.rb:11:in `perform'\n/Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-24 19:49:44.990673"], ["healthy", 0], ["updated_at", "2022-07-24 19:49:44.991922"], ["id", 1]]
5398
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5399
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
5400
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5401
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5402
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5403
+ Crono::CronoJob Create (0.0ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:44.993840"], ["updated_at", "2022-07-24 19:49:44.993840"]]
5404
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5405
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5406
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 2]]
5407
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5408
+ TRANSACTION (0.2ms) rollback transaction
5409
+ TRANSACTION (0.0ms) begin transaction
5410
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
5411
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5412
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
5413
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:44.995133"], ["updated_at", "2022-07-24 19:49:44.995133"]]
5414
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5415
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5416
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5417
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5418
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:49:44.994692 #18325] INFO -- : Perform TestFailingJob\nE, [2022-07-24T22:49:44.994754 #18325] ERROR -- : Finished TestFailingJob in 0.00 seconds with error: Some error\nE, [2022-07-24T22:49:44.994766 #18325] ERROR -- : /Users/dima/dev/crono/spec/job_spec.rb:11:in `perform'\n/Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-24 19:49:44.994697"], ["healthy", 0], ["updated_at", "2022-07-24 19:49:44.995775"], ["id", 1]]
5419
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5420
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5421
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5422
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5423
+ Crono::CronoJob Create (0.0ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:44.996366"], ["updated_at", "2022-07-24 19:49:44.996366"]]
5424
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5425
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5426
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 2]]
5427
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5428
+ TRANSACTION (0.1ms) rollback transaction
5429
+ TRANSACTION (0.0ms) begin transaction
5430
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5431
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5432
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5433
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:44.997515"], ["updated_at", "2022-07-24 19:49:44.997515"]]
5434
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5435
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5436
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? ORDER BY "crono_jobs"."id" ASC LIMIT ?  [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5437
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "updated_at" = ? WHERE "crono_jobs"."id" = ? [["updated_at", "2022-07-24 19:49:44.998094"], ["id", 1]]
5438
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5439
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5440
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5441
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5442
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5443
+ TRANSACTION (0.2ms) rollback transaction
5444
+ TRANSACTION (0.0ms) begin transaction
5445
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5446
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5447
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5448
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:44.999794"], ["updated_at", "2022-07-24 19:49:44.999794"]]
5449
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5450
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5451
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5452
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5453
+ TRANSACTION (0.2ms) rollback transaction
5454
+ TRANSACTION (0.0ms) begin transaction
5455
+ Crono::CronoJob Load (0.1ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5456
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5457
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5458
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:45.001992"], ["updated_at", "2022-07-24 19:49:45.001992"]]
5459
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5460
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5461
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5462
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5463
+ TRANSACTION (0.2ms) rollback transaction
5464
+ TRANSACTION (0.0ms) begin transaction
5465
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5466
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5467
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5468
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:45.004890"], ["updated_at", "2022-07-24 19:49:45.004890"]]
5469
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5470
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5471
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5472
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5473
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:49:45.003419 #18325] INFO -- : Perform TestJob\nE, [2022-07-24T22:49:45.004424 #18325] ERROR -- : Finished TestJob in 0.00 seconds with error: undefined method `perform' for nil:NilClass\n\n performer.new.perform\n ^^^^^^^^\nE, [2022-07-24T22:49:45.004437 #18325] ERROR -- : /Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-07-24 19:49:45.003424"], ["healthy", 0], ["updated_at", "2022-07-24 19:49:45.005563"], ["id", 1]]
5474
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5475
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5476
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5477
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5478
+ TRANSACTION (0.1ms) rollback transaction
5479
+ TRANSACTION (0.0ms) begin transaction
5480
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5481
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5482
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5483
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:45.007067"], ["updated_at", "2022-07-24 19:49:45.007067"]]
5484
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5485
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5486
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5487
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5488
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:49:45.006618 #18325] INFO -- : Perform TestJob\nI, [2022-07-24T22:49:45.006721 #18325] INFO -- : Finished TestJob in 0.00 seconds\n"], ["last_performed_at", "2022-07-24 19:49:45.006623"], ["healthy", 1], ["updated_at", "2022-07-24 19:49:45.007799"], ["id", 1]]
5489
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5490
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5491
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5492
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5493
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5494
+ TRANSACTION (0.1ms) rollback transaction
5495
+ TRANSACTION (0.0ms) begin transaction
5496
+ TRANSACTION (0.0ms) rollback transaction
5497
+ TRANSACTION (0.0ms) begin transaction
5498
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5499
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5500
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5501
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5502
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:45.010191"], ["updated_at", "2022-07-24 19:49:45.010191"]]
5503
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5504
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5505
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5506
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5507
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["updated_at", "2022-07-24 19:49:45.010817"], ["id", 1]]
5508
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5509
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5510
+ TRANSACTION (0.1ms) rollback transaction
5511
+ TRANSACTION (5.0ms) begin transaction
5512
+ Crono::CronoJob Load (0.1ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5513
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5514
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5515
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:45.017194"], ["updated_at", "2022-07-24 19:49:45.017194"]]
5516
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5517
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5518
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5519
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5520
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["last_performed_at", "2022-07-24 19:49:45.016642"], ["healthy", 1], ["updated_at", "2022-07-24 19:49:45.017953"], ["id", 1]]
5521
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5522
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5523
+ TRANSACTION (0.2ms) rollback transaction
5524
+ TRANSACTION (0.0ms) begin transaction
5525
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5526
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5527
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5528
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:45.019362"], ["updated_at", "2022-07-24 19:49:45.019362"]]
5529
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5530
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5531
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5532
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5533
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:49:45.019020 #18325] INFO -- : test message\n"], ["updated_at", "2022-07-24 19:49:45.019965"], ["id", 1]]
5534
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5535
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5536
+ TRANSACTION (0.2ms) rollback transaction
5537
+ TRANSACTION (0.0ms) begin transaction
5538
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5539
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5540
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5541
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:45.021186"], ["updated_at", "2022-07-24 19:49:45.021186"]]
5542
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5543
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5544
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5545
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5546
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-07-24T22:49:45.020872 #18325] INFO -- : line 1\nline 2\nline 3\nline 4\nline 5\nline 6\nline 7\nline 8\nline 9\nline 10\nline 11\nline 12\nline 13\nline 14\nline 15\nline 16\nline 17\nline 18\nline 19\nline 20\nline 21\nline 22\nline 23\nline 24\nline 25\nline 26\nline 27\nline 28\nline 29\nline 30\nline 31\nline 32\nline 33\nline 34\nline 35\nline 36\nline 37\nline 38\nline 39\nline 40\nline 41\nline 42\nline 43\nline 44\nline 45\nline 46\nline 47\nline 48\nline 49\nline 50\nline 51\nline 52\nline 53\nline 54\nline 55\nline 56\nline 57\nline 58\nline 59\nline 60\nline 61\nline 62\nline 63\nline 64\nline 65\nline 66\nline 67\nline 68\nline 69\nline 70\nline 71\nline 72\nline 73\nline 74\nline 75\nline 76\nline 77\nline 78\nline 79\nline 80\nline 81\nline 82\nline 83\nline 84\nline 85\nline 86\nline 87\nline 88\nline 89\nline 90\nline 91\nline 92\nline 93\nline 94\nline 95\nline 96\nline 97\nline 98\nline 99\nline 100\n"], ["updated_at", "2022-07-24 19:49:45.021860"], ["id", 1]]
5547
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5548
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5549
+ TRANSACTION (0.1ms) rollback transaction
5550
+ TRANSACTION (0.0ms) begin transaction
5551
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5552
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5553
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5554
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:45.023055"], ["updated_at", "2022-07-24 19:49:45.023055"]]
5555
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5556
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5557
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5558
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5559
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "line 51\nline 52\nline 53\nline 54\nline 55\nline 56\nline 57\nline 58\nline 59\nline 60\nline 61\nline 62\nline 63\nline 64\nline 65\nline 66\nline 67\nline 68\nline 69\nline 70\nline 71\nline 72\nline 73\nline 74\nline 75\nline 76\nline 77\nline 78\nline 79\nline 80\nline 81\nline 82\nline 83\nline 84\nline 85\nline 86\nline 87\nline 88\nline 89\nline 90\nline 91\nline 92\nline 93\nline 94\nline 95\nline 96\nline 97\nline 98\nline 99\nline 100\n"], ["updated_at", "2022-07-24 19:49:45.023667"], ["id", 1]]
5560
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5561
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5562
+ TRANSACTION (0.1ms) rollback transaction
5563
+ TRANSACTION (0.0ms) begin transaction
5564
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5565
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5566
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5567
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-07-24 19:49:45.024854"], ["updated_at", "2022-07-24 19:49:45.024854"]]
5568
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5569
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5570
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5571
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5572
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["last_performed_at", "2022-07-24 19:49:45.024562"], ["updated_at", "2022-07-24 19:49:45.025425"], ["id", 1]]
5573
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5574
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5575
+ TRANSACTION (0.1ms) rollback transaction
5576
+ TRANSACTION (0.0ms) begin transaction
5577
+ TRANSACTION (0.0ms) rollback transaction
5578
+ TRANSACTION (0.0ms) begin transaction
5579
+ TRANSACTION (0.0ms) rollback transaction
5580
+ TRANSACTION (0.0ms) begin transaction
5581
+ TRANSACTION (0.0ms) rollback transaction
5582
+ TRANSACTION (0.0ms) begin transaction
5583
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" IS NULL LIMIT ? [["LIMIT", 1]]
5584
+ TRANSACTION (0.0ms) rollback transaction
5585
+ TRANSACTION (0.0ms) begin transaction
5586
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5587
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
5588
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "TestJob every 2 days"], ["created_at", "2022-07-24 19:49:45.028275"], ["updated_at", "2022-07-24 19:49:45.028275"]]
5589
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5590
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5591
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
5592
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
5593
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
5594
+ TRANSACTION (0.2ms) rollback transaction
5595
+ TRANSACTION (0.0ms) begin transaction
5596
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5597
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 3 days"], ["LIMIT", 1]]
5598
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 3 days"], ["created_at", "2022-07-24 19:49:45.029575"], ["updated_at", "2022-07-24 19:49:45.029575"]]
5599
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5600
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 3 days"], ["LIMIT", 1]]
5601
+ TRANSACTION (0.1ms) rollback transaction
5602
+ TRANSACTION (0.0ms) begin transaction
5603
+ TRANSACTION (0.0ms) rollback transaction
5604
+ TRANSACTION (0.0ms) begin transaction
5605
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:30"], ["LIMIT", 1]]
5606
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5607
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:30"], ["LIMIT", 1]]
5608
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:30"], ["created_at", "2022-07-24 19:49:45.031413"], ["updated_at", "2022-07-24 19:49:45.031413"]]
5609
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5610
+ TRANSACTION (0.1ms) rollback transaction
5611
+ TRANSACTION (0.0ms) begin transaction
5612
+ TRANSACTION (0.0ms) rollback transaction
5613
+ TRANSACTION (0.0ms) begin transaction
5614
+ TRANSACTION (0.0ms) rollback transaction
5615
+ TRANSACTION (0.0ms) begin transaction
5616
+ TRANSACTION (0.0ms) rollback transaction
5617
+ TRANSACTION (0.0ms) begin transaction
5618
+ TRANSACTION (0.0ms) rollback transaction
5619
+ TRANSACTION (0.0ms) begin transaction
5620
+ TRANSACTION (0.0ms) rollback transaction
5621
+ TRANSACTION (0.0ms) begin transaction
5622
+ TRANSACTION (0.0ms) rollback transaction
5623
+ TRANSACTION (0.0ms) begin transaction
5624
+ TRANSACTION (0.0ms) rollback transaction
5625
+ TRANSACTION (0.0ms) begin transaction
5626
+ TRANSACTION (0.0ms) rollback transaction
5627
+ TRANSACTION (0.0ms) begin transaction
5628
+ TRANSACTION (0.0ms) rollback transaction
5629
+ TRANSACTION (0.0ms) begin transaction
5630
+ TRANSACTION (0.0ms) rollback transaction
5631
+ TRANSACTION (0.0ms) begin transaction
5632
+ TRANSACTION (0.0ms) rollback transaction
5633
+ TRANSACTION (0.0ms) begin transaction
5634
+ TRANSACTION (0.0ms) rollback transaction
5635
+ TRANSACTION (0.0ms) begin transaction
5636
+ TRANSACTION (0.1ms) rollback transaction
5637
+ TRANSACTION (0.0ms) begin transaction
5638
+ TRANSACTION (0.0ms) rollback transaction
5639
+ TRANSACTION (0.0ms) begin transaction
5640
+ TRANSACTION (0.0ms) rollback transaction
5641
+ TRANSACTION (0.0ms) begin transaction
5642
+ TRANSACTION (0.0ms) rollback transaction
5643
+ TRANSACTION (0.0ms) begin transaction
5644
+ TRANSACTION (0.0ms) rollback transaction
5645
+ TRANSACTION (0.0ms) begin transaction
5646
+ TRANSACTION (0.0ms) rollback transaction
5647
+ TRANSACTION (0.0ms) begin transaction
5648
+ TRANSACTION (0.0ms) rollback transaction
5649
+ TRANSACTION (0.0ms) begin transaction
5650
+ TRANSACTION (0.0ms) rollback transaction
5651
+ TRANSACTION (0.0ms) begin transaction
5652
+ TRANSACTION (0.0ms) rollback transaction
5653
+ TRANSACTION (0.0ms) begin transaction
5654
+ TRANSACTION (0.0ms) rollback transaction
5655
+ TRANSACTION (0.0ms) begin transaction
5656
+ TRANSACTION (0.0ms) rollback transaction
5657
+ TRANSACTION (0.0ms) begin transaction
5658
+ TRANSACTION (0.0ms) rollback transaction
5659
+ TRANSACTION (0.0ms) begin transaction
5660
+ TRANSACTION (0.0ms) rollback transaction
5661
+ TRANSACTION (0.0ms) begin transaction
5662
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5663
+ Crono::CronoJob Exists? (0.1ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "used_job"], ["LIMIT", 1]]
5664
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "used_job"], ["created_at", "2022-07-24 19:49:49.041018"], ["updated_at", "2022-07-24 19:49:49.041018"]]
5665
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5666
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE 1=1
5667
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5668
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5669
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5670
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "used_job"], ["LIMIT", 1]]
5671
+ TRANSACTION (0.2ms) rollback transaction
5672
+ TRANSACTION (0.0ms) begin transaction
5673
+ TRANSACTION (0.0ms) rollback transaction
5674
+ TRANSACTION (0.0ms) begin transaction
5675
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5676
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5677
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5678
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:49:49.043469"], ["updated_at", "2022-07-24 19:49:49.043469"]]
5679
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5680
+ Processing by Crono::JobsController#index as HTML
5681
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5682
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
5683
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5684
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.8ms | Allocations: 843)
5685
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 7.2ms | Allocations: 12129)
5686
+ Completed 200 OK in 12ms (Views: 8.9ms | ActiveRecord: 0.0ms | Allocations: 15838)
5687
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5688
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5689
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5690
+ TRANSACTION (0.2ms) rollback transaction
5691
+ TRANSACTION (0.0ms) begin transaction
5692
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5693
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5694
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5695
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:49:49.065006"], ["updated_at", "2022-07-24 19:49:49.065006"]]
5696
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5697
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5698
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
5699
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["last_performed_at", "2022-07-24 19:39:49.065525"], ["healthy", 0], ["updated_at", "2022-07-24 19:49:49.065814"], ["id", 1]]
5700
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5701
+ Processing by Crono::JobsController#index as HTML
5702
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5703
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
5704
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5705
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.2ms | Allocations: 216)
5706
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.6ms | Allocations: 1651)
5707
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 2020)
5708
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5709
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5710
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5711
+ TRANSACTION (0.2ms) rollback transaction
5712
+ TRANSACTION (0.0ms) begin transaction
5713
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5714
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5715
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5716
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:49:49.068185"], ["updated_at", "2022-07-24 19:49:49.068185"]]
5717
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5718
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5719
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
5720
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["last_performed_at", "2022-07-24 19:39:49.068522"], ["healthy", 1], ["updated_at", "2022-07-24 19:49:49.068820"], ["id", 1]]
5721
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5722
+ Processing by Crono::JobsController#index as HTML
5723
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5724
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
5725
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5726
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 204)
5727
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.5ms | Allocations: 1639)
5728
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 2007)
5729
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5730
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5731
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5732
+ TRANSACTION (0.2ms) rollback transaction
5733
+ TRANSACTION (0.0ms) begin transaction
5734
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5735
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
5736
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5737
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:49:49.070883"], ["updated_at", "2022-07-24 19:49:49.070883"]]
5738
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5739
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5740
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
5741
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5742
+ Processing by Crono::JobsController#index as HTML
5743
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5744
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
5745
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5746
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 136)
5747
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.5ms | Allocations: 1584)
5748
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 1952)
5749
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5750
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5751
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5752
+ TRANSACTION (0.1ms) rollback transaction
5753
+ TRANSACTION (0.0ms) begin transaction
5754
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5755
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5756
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5757
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:49:49.073393"], ["updated_at", "2022-07-24 19:49:49.073393"]]
5758
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5759
+ Processing by Crono::JobsController#show as HTML
5760
+ Parameters: {"id"=>"1"}
5761
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5762
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5763
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application
5764
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application (Duration: 0.3ms | Allocations: 242)
5765
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.8ms | Allocations: 1667)
5766
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms | Allocations: 2421)
5767
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5768
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5769
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5770
+ TRANSACTION (0.2ms) rollback transaction
5771
+ TRANSACTION (0.0ms) begin transaction
5772
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
5773
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5774
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
5775
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-07-24 19:49:49.077523"], ["updated_at", "2022-07-24 19:49:49.077523"]]
5776
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5777
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5778
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
5779
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["healthy", 0], ["updated_at", "2022-07-24 19:49:49.078210"], ["id", 1]]
5780
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5781
+ Processing by Crono::JobsController#show as HTML
5782
+ Parameters: {"id"=>"1"}
5783
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5784
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
5785
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application
5786
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 46)
5787
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.5ms | Allocations: 1471)
5788
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 1960)
5789
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5790
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5791
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5792
+ TRANSACTION (0.2ms) rollback transaction
5793
+  (0.4ms) SELECT sqlite_version(*)
5794
+  (0.0ms) SELECT sqlite_version(*)
5795
+  (0.4ms) CREATE TABLE "crono_jobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "job_id" varchar NOT NULL, "log" text(1073741823), "last_performed_at" datetime(6), "healthy" boolean, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
5796
+  (0.3ms) CREATE UNIQUE INDEX "index_crono_jobs_on_job_id" ON "crono_jobs" ("job_id")
5797
+  (0.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
5798
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
5799
+ TRANSACTION (0.0ms) begin transaction
5800
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2022-09-03 12:24:12.235790"], ["updated_at", "2022-09-03 12:24:12.235790"]]
5801
+ TRANSACTION (0.2ms) commit transaction
5802
+  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
5803
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
5804
+  (0.0ms) SELECT sqlite_version(*)
5805
+ TRANSACTION (0.0ms) begin transaction
5806
+ TRANSACTION (0.0ms) rollback transaction
5807
+ TRANSACTION (0.0ms) begin transaction
5808
+ TRANSACTION (0.0ms) rollback transaction
5809
+ TRANSACTION (0.0ms) begin transaction
5810
+ TRANSACTION (0.0ms) rollback transaction
5811
+ TRANSACTION (0.0ms) begin transaction
5812
+ TRANSACTION (0.0ms) rollback transaction
5813
+ TRANSACTION (0.0ms) begin transaction
5814
+ TRANSACTION (0.0ms) rollback transaction
5815
+ TRANSACTION (0.0ms) begin transaction
5816
+ TRANSACTION (0.0ms) rollback transaction
5817
+ TRANSACTION (0.0ms) begin transaction
5818
+ TRANSACTION (0.0ms) rollback transaction
5819
+ TRANSACTION (0.0ms) begin transaction
5820
+ TRANSACTION (0.0ms) rollback transaction
5821
+ TRANSACTION (0.0ms) begin transaction
5822
+ TRANSACTION (0.0ms) rollback transaction
5823
+ TRANSACTION (0.0ms) begin transaction
5824
+ TRANSACTION (0.0ms) rollback transaction
5825
+ TRANSACTION (0.0ms) begin transaction
5826
+ TRANSACTION (0.0ms) rollback transaction
5827
+ TRANSACTION (0.0ms) begin transaction
5828
+ TRANSACTION (0.0ms) rollback transaction
5829
+ TRANSACTION (0.0ms) begin transaction
5830
+ TRANSACTION (0.0ms) rollback transaction
5831
+ TRANSACTION (0.0ms) begin transaction
5832
+ TRANSACTION (0.0ms) rollback transaction
5833
+ TRANSACTION (0.0ms) begin transaction
5834
+ TRANSACTION (0.0ms) rollback transaction
5835
+ TRANSACTION (0.0ms) begin transaction
5836
+ TRANSACTION (0.0ms) rollback transaction
5837
+ TRANSACTION (0.0ms) begin transaction
5838
+ TRANSACTION (0.0ms) rollback transaction
5839
+ TRANSACTION (0.0ms) begin transaction
5840
+ TRANSACTION (0.0ms) rollback transaction
5841
+ TRANSACTION (0.0ms) begin transaction
5842
+ TRANSACTION (0.0ms) rollback transaction
5843
+ TRANSACTION (0.0ms) begin transaction
5844
+ TRANSACTION (0.0ms) rollback transaction
5845
+ TRANSACTION (0.0ms) begin transaction
5846
+ TRANSACTION (0.0ms) rollback transaction
5847
+ TRANSACTION (0.0ms) begin transaction
5848
+ TRANSACTION (0.0ms) rollback transaction
5849
+ TRANSACTION (0.0ms) begin transaction
5850
+ TRANSACTION (0.0ms) rollback transaction
5851
+ TRANSACTION (0.0ms) begin transaction
5852
+ TRANSACTION (0.0ms) rollback transaction
5853
+ TRANSACTION (0.1ms) begin transaction
5854
+ TRANSACTION (0.0ms) rollback transaction
5855
+ TRANSACTION (0.0ms) begin transaction
5856
+ TRANSACTION (0.0ms) rollback transaction
5857
+ TRANSACTION (0.0ms) begin transaction
5858
+ TRANSACTION (0.0ms) rollback transaction
5859
+ TRANSACTION (0.0ms) begin transaction
5860
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5861
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5862
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5863
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.405631"], ["updated_at", "2022-09-03 12:24:12.405631"]]
5864
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5865
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5866
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5867
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5868
+ TRANSACTION (0.1ms) rollback transaction
5869
+ TRANSACTION (0.0ms) begin transaction
5870
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
5871
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5872
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
5873
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.411279"], ["updated_at", "2022-09-03 12:24:12.411279"]]
5874
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5875
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5876
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5877
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5878
+ Crono::CronoJob Update (0.1ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-09-03T15:24:12.406695 #80042] INFO -- : Perform TestFailingJob\nE, [2022-09-03T15:24:12.406764 #80042] ERROR -- : Finished TestFailingJob in 0.00 seconds with error: Some error\nE, [2022-09-03T15:24:12.406777 #80042] ERROR -- : /Users/dima/dev/crono/spec/job_spec.rb:11:in `perform'\n/Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-09-03 12:24:12.406699"], ["healthy", 0], ["updated_at", "2022-09-03 12:24:12.414742"], ["id", 1]]
5879
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5880
+ Crono::CronoJob Load (2.3ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
5881
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5882
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5883
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5884
+ Crono::CronoJob Create (0.0ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.431127"], ["updated_at", "2022-09-03 12:24:12.431127"]]
5885
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5886
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5887
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 2]]
5888
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5889
+ TRANSACTION (0.2ms) rollback transaction
5890
+ TRANSACTION (0.0ms) begin transaction
5891
+ Crono::CronoJob Load (0.1ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
5892
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5893
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["LIMIT", 1]]
5894
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.441542"], ["updated_at", "2022-09-03 12:24:12.441542"]]
5895
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5896
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5897
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5898
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestFailingJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5899
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-09-03T15:24:12.440797 #80042] INFO -- : Perform TestFailingJob\nE, [2022-09-03T15:24:12.440888 #80042] ERROR -- : Finished TestFailingJob in 0.00 seconds with error: Some error\nE, [2022-09-03T15:24:12.440901 #80042] ERROR -- : /Users/dima/dev/crono/spec/job_spec.rb:11:in `perform'\n/Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-09-03 12:24:12.440803"], ["healthy", 0], ["updated_at", "2022-09-03 12:24:12.442324"], ["id", 1]]
5900
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5901
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5902
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5903
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5904
+ Crono::CronoJob Create (0.0ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.443065"], ["updated_at", "2022-09-03 12:24:12.443065"]]
5905
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5906
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5907
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 2]]
5908
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5909
+ TRANSACTION (0.2ms) rollback transaction
5910
+ TRANSACTION (0.0ms) begin transaction
5911
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5912
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5913
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5914
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.444356"], ["updated_at", "2022-09-03 12:24:12.444356"]]
5915
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5916
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5917
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? ORDER BY "crono_jobs"."id" ASC LIMIT ?  [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5918
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "updated_at" = ? WHERE "crono_jobs"."id" = ? [["updated_at", "2022-09-03 12:24:12.445107"], ["id", 1]]
5919
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5920
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5921
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5922
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5923
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5924
+ TRANSACTION (0.1ms) rollback transaction
5925
+ TRANSACTION (0.0ms) begin transaction
5926
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5927
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5928
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5929
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.446786"], ["updated_at", "2022-09-03 12:24:12.446786"]]
5930
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5931
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5932
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5933
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5934
+ TRANSACTION (0.1ms) rollback transaction
5935
+ TRANSACTION (0.0ms) begin transaction
5936
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5937
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5938
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5939
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.448233"], ["updated_at", "2022-09-03 12:24:12.448233"]]
5940
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5941
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5942
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5943
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5944
+ TRANSACTION (0.1ms) rollback transaction
5945
+ TRANSACTION (0.0ms) begin transaction
5946
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5947
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5948
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5949
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.449679"], ["updated_at", "2022-09-03 12:24:12.449679"]]
5950
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5951
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5952
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5953
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5954
+ TRANSACTION (0.1ms) rollback transaction
5955
+ TRANSACTION (0.0ms) begin transaction
5956
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5957
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5958
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5959
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.452092"], ["updated_at", "2022-09-03 12:24:12.452092"]]
5960
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5961
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5962
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5963
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5964
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-09-03T15:24:12.450643 #80042] INFO -- : Perform TestJob\nE, [2022-09-03T15:24:12.451608 #80042] ERROR -- : Finished TestJob in 0.00 seconds with error: undefined method `perform' for nil:NilClass\n\n performer.new.perform\n ^^^^^^^^\nE, [2022-09-03T15:24:12.451619 #80042] ERROR -- : /Users/dima/dev/crono/lib/crono/job.rb:82:in `perform_job'\n/Users/dima/dev/crono/lib/crono/job.rb:43:in `block in perform'\n"], ["last_performed_at", "2022-09-03 12:24:12.450647"], ["healthy", 0], ["updated_at", "2022-09-03 12:24:12.452766"], ["id", 1]]
5965
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5966
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5967
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5968
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5969
+ TRANSACTION (0.1ms) rollback transaction
5970
+ TRANSACTION (0.0ms) begin transaction
5971
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5972
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5973
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5974
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.454281"], ["updated_at", "2022-09-03 12:24:12.454281"]]
5975
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5976
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5977
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5978
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5979
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-09-03T15:24:12.453851 #80042] INFO -- : Perform TestJob\nI, [2022-09-03T15:24:12.453947 #80042] INFO -- : Finished TestJob in 0.00 seconds\n"], ["last_performed_at", "2022-09-03 12:24:12.453856"], ["healthy", 1], ["updated_at", "2022-09-03 12:24:12.454874"], ["id", 1]]
5980
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5981
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5982
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5983
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
5984
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5985
+ TRANSACTION (0.1ms) rollback transaction
5986
+ TRANSACTION (0.0ms) begin transaction
5987
+ TRANSACTION (0.0ms) rollback transaction
5988
+ TRANSACTION (0.0ms) begin transaction
5989
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5990
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5991
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5992
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
5993
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.457282"], ["updated_at", "2022-09-03 12:24:12.457282"]]
5994
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
5995
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
5996
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
5997
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
5998
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["updated_at", "2022-09-03 12:24:12.457877"], ["id", 1]]
5999
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6000
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6001
+ TRANSACTION (0.1ms) rollback transaction
6002
+ TRANSACTION (0.0ms) begin transaction
6003
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6004
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6005
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6006
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.458976"], ["updated_at", "2022-09-03 12:24:12.458976"]]
6007
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6008
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6009
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6010
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
6011
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["last_performed_at", "2022-09-03 12:24:12.458675"], ["healthy", 1], ["updated_at", "2022-09-03 12:24:12.459625"], ["id", 1]]
6012
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6013
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6014
+ TRANSACTION (0.1ms) rollback transaction
6015
+ TRANSACTION (0.0ms) begin transaction
6016
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6017
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6018
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6019
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.460604"], ["updated_at", "2022-09-03 12:24:12.460604"]]
6020
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6021
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6022
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6023
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
6024
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-09-03T15:24:12.460296 #80042] INFO -- : test message\n"], ["updated_at", "2022-09-03 12:24:12.461238"], ["id", 1]]
6025
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6026
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6027
+ TRANSACTION (0.1ms) rollback transaction
6028
+ TRANSACTION (0.0ms) begin transaction
6029
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6030
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6031
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6032
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.462335"], ["updated_at", "2022-09-03 12:24:12.462335"]]
6033
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6034
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6035
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6036
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
6037
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "I, [2022-09-03T15:24:12.461954 #80042] INFO -- : line 1\nline 2\nline 3\nline 4\nline 5\nline 6\nline 7\nline 8\nline 9\nline 10\nline 11\nline 12\nline 13\nline 14\nline 15\nline 16\nline 17\nline 18\nline 19\nline 20\nline 21\nline 22\nline 23\nline 24\nline 25\nline 26\nline 27\nline 28\nline 29\nline 30\nline 31\nline 32\nline 33\nline 34\nline 35\nline 36\nline 37\nline 38\nline 39\nline 40\nline 41\nline 42\nline 43\nline 44\nline 45\nline 46\nline 47\nline 48\nline 49\nline 50\nline 51\nline 52\nline 53\nline 54\nline 55\nline 56\nline 57\nline 58\nline 59\nline 60\nline 61\nline 62\nline 63\nline 64\nline 65\nline 66\nline 67\nline 68\nline 69\nline 70\nline 71\nline 72\nline 73\nline 74\nline 75\nline 76\nline 77\nline 78\nline 79\nline 80\nline 81\nline 82\nline 83\nline 84\nline 85\nline 86\nline 87\nline 88\nline 89\nline 90\nline 91\nline 92\nline 93\nline 94\nline 95\nline 96\nline 97\nline 98\nline 99\nline 100\n"], ["updated_at", "2022-09-03 12:24:12.462901"], ["id", 1]]
6038
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6039
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6040
+ TRANSACTION (0.1ms) rollback transaction
6041
+ TRANSACTION (0.0ms) begin transaction
6042
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6043
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6044
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6045
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.463970"], ["updated_at", "2022-09-03 12:24:12.463970"]]
6046
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6047
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6048
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6049
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
6050
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", "line 51\nline 52\nline 53\nline 54\nline 55\nline 56\nline 57\nline 58\nline 59\nline 60\nline 61\nline 62\nline 63\nline 64\nline 65\nline 66\nline 67\nline 68\nline 69\nline 70\nline 71\nline 72\nline 73\nline 74\nline 75\nline 76\nline 77\nline 78\nline 79\nline 80\nline 81\nline 82\nline 83\nline 84\nline 85\nline 86\nline 87\nline 88\nline 89\nline 90\nline 91\nline 92\nline 93\nline 94\nline 95\nline 96\nline 97\nline 98\nline 99\nline 100\n"], ["updated_at", "2022-09-03 12:24:12.464529"], ["id", 1]]
6051
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6052
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6053
+ TRANSACTION (0.1ms) rollback transaction
6054
+ TRANSACTION (0.0ms) begin transaction
6055
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6056
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6057
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6058
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:00"], ["created_at", "2022-09-03 12:24:12.465589"], ["updated_at", "2022-09-03 12:24:12.465589"]]
6059
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6060
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6061
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6062
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["id", 1], ["LIMIT", 1]]
6063
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "log" = ?, "last_performed_at" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["log", ""], ["last_performed_at", "2022-09-03 12:24:12.465293"], ["updated_at", "2022-09-03 12:24:12.466157"], ["id", 1]]
6064
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6065
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:00"], ["LIMIT", 1]]
6066
+ TRANSACTION (0.1ms) rollback transaction
6067
+ TRANSACTION (0.0ms) begin transaction
6068
+ TRANSACTION (0.0ms) rollback transaction
6069
+ TRANSACTION (0.0ms) begin transaction
6070
+ TRANSACTION (0.0ms) rollback transaction
6071
+ TRANSACTION (0.0ms) begin transaction
6072
+ TRANSACTION (0.0ms) rollback transaction
6073
+ TRANSACTION (0.0ms) begin transaction
6074
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" IS NULL LIMIT ? [["LIMIT", 1]]
6075
+ TRANSACTION (0.0ms) rollback transaction
6076
+ TRANSACTION (0.1ms) begin transaction
6077
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6078
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
6079
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "TestJob every 2 days"], ["created_at", "2022-09-03 12:24:12.468673"], ["updated_at", "2022-09-03 12:24:12.468673"]]
6080
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6081
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6082
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
6083
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
6084
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "TestJob every 2 days"], ["LIMIT", 1]]
6085
+ TRANSACTION (0.2ms) rollback transaction
6086
+ TRANSACTION (0.0ms) begin transaction
6087
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6088
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 3 days"], ["LIMIT", 1]]
6089
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 3 days"], ["created_at", "2022-09-03 12:24:12.470123"], ["updated_at", "2022-09-03 12:24:12.470123"]]
6090
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6091
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 3 days"], ["LIMIT", 1]]
6092
+ TRANSACTION (0.1ms) rollback transaction
6093
+ TRANSACTION (0.0ms) begin transaction
6094
+ TRANSACTION (0.0ms) rollback transaction
6095
+ TRANSACTION (0.0ms) begin transaction
6096
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:30"], ["LIMIT", 1]]
6097
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6098
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 2 days at 15:30"], ["LIMIT", 1]]
6099
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "Perform TestJob every 2 days at 15:30"], ["created_at", "2022-09-03 12:24:12.472230"], ["updated_at", "2022-09-03 12:24:12.472230"]]
6100
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6101
+ TRANSACTION (0.1ms) rollback transaction
6102
+ TRANSACTION (0.0ms) begin transaction
6103
+ TRANSACTION (0.0ms) rollback transaction
6104
+ TRANSACTION (0.0ms) begin transaction
6105
+ TRANSACTION (0.0ms) rollback transaction
6106
+ TRANSACTION (0.0ms) begin transaction
6107
+ TRANSACTION (0.0ms) rollback transaction
6108
+ TRANSACTION (0.0ms) begin transaction
6109
+ TRANSACTION (0.0ms) rollback transaction
6110
+ TRANSACTION (0.0ms) begin transaction
6111
+ TRANSACTION (0.0ms) rollback transaction
6112
+ TRANSACTION (0.0ms) begin transaction
6113
+ TRANSACTION (0.0ms) rollback transaction
6114
+ TRANSACTION (0.0ms) begin transaction
6115
+ TRANSACTION (0.0ms) rollback transaction
6116
+ TRANSACTION (0.0ms) begin transaction
6117
+ TRANSACTION (0.0ms) rollback transaction
6118
+ TRANSACTION (0.0ms) begin transaction
6119
+ TRANSACTION (0.0ms) rollback transaction
6120
+ TRANSACTION (0.0ms) begin transaction
6121
+ TRANSACTION (0.0ms) rollback transaction
6122
+ TRANSACTION (0.0ms) begin transaction
6123
+ TRANSACTION (0.0ms) rollback transaction
6124
+ TRANSACTION (0.0ms) begin transaction
6125
+ TRANSACTION (0.0ms) rollback transaction
6126
+ TRANSACTION (0.0ms) begin transaction
6127
+ TRANSACTION (0.0ms) rollback transaction
6128
+ TRANSACTION (0.0ms) begin transaction
6129
+ TRANSACTION (0.0ms) rollback transaction
6130
+ TRANSACTION (0.0ms) begin transaction
6131
+ TRANSACTION (0.0ms) rollback transaction
6132
+ TRANSACTION (0.0ms) begin transaction
6133
+ TRANSACTION (0.0ms) rollback transaction
6134
+ TRANSACTION (0.0ms) begin transaction
6135
+ TRANSACTION (0.0ms) rollback transaction
6136
+ TRANSACTION (0.0ms) begin transaction
6137
+ TRANSACTION (0.0ms) rollback transaction
6138
+ TRANSACTION (0.0ms) begin transaction
6139
+ TRANSACTION (0.0ms) rollback transaction
6140
+ TRANSACTION (0.0ms) begin transaction
6141
+ TRANSACTION (0.0ms) rollback transaction
6142
+ TRANSACTION (0.0ms) begin transaction
6143
+ TRANSACTION (0.0ms) rollback transaction
6144
+ TRANSACTION (0.0ms) begin transaction
6145
+ TRANSACTION (0.0ms) rollback transaction
6146
+ TRANSACTION (0.0ms) begin transaction
6147
+ TRANSACTION (0.0ms) rollback transaction
6148
+ TRANSACTION (0.0ms) begin transaction
6149
+ TRANSACTION (0.0ms) rollback transaction
6150
+ TRANSACTION (0.0ms) begin transaction
6151
+ TRANSACTION (0.0ms) rollback transaction
6152
+ TRANSACTION (0.0ms) begin transaction
6153
+ TRANSACTION (0.0ms) rollback transaction
6154
+ TRANSACTION (0.0ms) begin transaction
6155
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6156
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "used_job"], ["LIMIT", 1]]
6157
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "used_job"], ["created_at", "2022-09-03 12:24:16.481463"], ["updated_at", "2022-09-03 12:24:16.481463"]]
6158
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6159
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE 1=1
6160
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6161
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
6162
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6163
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "used_job"], ["LIMIT", 1]]
6164
+ TRANSACTION (0.1ms) rollback transaction
6165
+ TRANSACTION (0.0ms) begin transaction
6166
+ TRANSACTION (0.0ms) rollback transaction
6167
+ TRANSACTION (0.0ms) begin transaction
6168
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
6169
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6170
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
6171
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-09-03 12:24:16.483625"], ["updated_at", "2022-09-03 12:24:16.483625"]]
6172
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6173
+ Processing by Crono::JobsController#index as HTML
6174
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
6175
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
6176
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
6177
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.7ms | Allocations: 843)
6178
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 580.2ms | Allocations: 33039)
6179
+ Completed 200 OK in 584ms (Views: 581.5ms | ActiveRecord: 0.0ms | Allocations: 36746)
6180
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
6181
+ Crono::CronoJob Destroy (0.1ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
6182
+ TRANSACTION (0.4ms) RELEASE SAVEPOINT active_record_1
6183
+ TRANSACTION (0.2ms) rollback transaction
6184
+ TRANSACTION (0.0ms) begin transaction
6185
+ Crono::CronoJob Load (0.1ms) SELECT "crono_jobs".* FROM "crono_jobs"
6186
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6187
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
6188
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-09-03 12:24:17.077604"], ["updated_at", "2022-09-03 12:24:17.077604"]]
6189
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6190
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6191
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
6192
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["last_performed_at", "2022-09-03 12:14:17.078330"], ["healthy", 0], ["updated_at", "2022-09-03 12:24:17.078798"], ["id", 1]]
6193
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6194
+ Processing by Crono::JobsController#index as HTML
6195
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
6196
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
6197
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
6198
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.3ms | Allocations: 216)
6199
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 1.0ms | Allocations: 1651)
6200
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms | Allocations: 2020)
6201
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6202
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
6203
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6204
+ TRANSACTION (0.2ms) rollback transaction
6205
+ TRANSACTION (0.0ms) begin transaction
6206
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
6207
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6208
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
6209
+ Crono::CronoJob Create (0.2ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-09-03 12:24:17.082745"], ["updated_at", "2022-09-03 12:24:17.082745"]]
6210
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6211
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6212
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
6213
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "last_performed_at" = ?, "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["last_performed_at", "2022-09-03 12:14:17.083327"], ["healthy", 1], ["updated_at", "2022-09-03 12:24:17.083736"], ["id", 1]]
6214
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6215
+ Processing by Crono::JobsController#index as HTML
6216
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
6217
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
6218
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
6219
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.2ms | Allocations: 204)
6220
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.8ms | Allocations: 1639)
6221
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms | Allocations: 2007)
6222
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6223
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
6224
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6225
+ TRANSACTION (0.2ms) rollback transaction
6226
+ TRANSACTION (0.0ms) begin transaction
6227
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
6228
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6229
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
6230
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-09-03 12:24:17.086781"], ["updated_at", "2022-09-03 12:24:17.086781"]]
6231
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6232
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6233
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
6234
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6235
+ Processing by Crono::JobsController#index as HTML
6236
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
6237
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application
6238
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
6239
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/index.html.erb within layouts/crono/application (Duration: 0.1ms | Allocations: 136)
6240
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.7ms | Allocations: 1584)
6241
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 1952)
6242
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6243
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
6244
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6245
+ TRANSACTION (0.2ms) rollback transaction
6246
+ TRANSACTION (0.0ms) begin transaction
6247
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
6248
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6249
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
6250
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-09-03 12:24:17.090143"], ["updated_at", "2022-09-03 12:24:17.090143"]]
6251
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6252
+ Processing by Crono::JobsController#show as HTML
6253
+ Parameters: {"id"=>"1"}
6254
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6255
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
6256
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application
6257
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application (Duration: 0.4ms | Allocations: 242)
6258
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.9ms | Allocations: 1667)
6259
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms | Allocations: 2420)
6260
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6261
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
6262
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6263
+ TRANSACTION (0.2ms) rollback transaction
6264
+ TRANSACTION (0.0ms) begin transaction
6265
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs"
6266
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6267
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["LIMIT", 1]]
6268
+ Crono::CronoJob Create (0.1ms) INSERT INTO "crono_jobs" ("job_id", "log", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["job_id", "Perform TestJob every 5 seconds"], ["log", "All runs ok"], ["created_at", "2022-09-03 12:24:17.093887"], ["updated_at", "2022-09-03 12:24:17.093887"]]
6269
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6270
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6271
+ Crono::CronoJob Exists? (0.0ms) SELECT 1 AS one FROM "crono_jobs" WHERE "crono_jobs"."job_id" = ? AND "crono_jobs"."id" != ? LIMIT ? [["job_id", "Perform TestJob every 5 seconds"], ["id", 1], ["LIMIT", 1]]
6272
+ Crono::CronoJob Update (0.0ms) UPDATE "crono_jobs" SET "healthy" = ?, "updated_at" = ? WHERE "crono_jobs"."id" = ? [["healthy", 0], ["updated_at", "2022-09-03 12:24:17.094648"], ["id", 1]]
6273
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6274
+ Processing by Crono::JobsController#show as HTML
6275
+ Parameters: {"id"=>"1"}
6276
+ Crono::CronoJob Load (0.0ms) SELECT "crono_jobs".* FROM "crono_jobs" WHERE "crono_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
6277
+ Rendering layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb
6278
+ Rendering /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application
6279
+ Rendered /Users/dima/dev/crono/app/views/crono/jobs/show.html.erb within layouts/crono/application (Duration: 0.0ms | Allocations: 46)
6280
+ Rendered layout /Users/dima/dev/crono/app/views/layouts/crono/application.html.erb (Duration: 0.5ms | Allocations: 1471)
6281
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 1960)
6282
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
6283
+ Crono::CronoJob Destroy (0.0ms) DELETE FROM "crono_jobs" WHERE "crono_jobs"."id" = ? [["id", 1]]
6284
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
6285
+ TRANSACTION (0.2ms) rollback transaction