change system crontab to spawn export_users
authorDirk Koopman <djk@tobit.co.uk>
Fri, 15 May 2020 23:31:38 +0000 (00:31 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Fri, 15 May 2020 23:31:38 +0000 (00:31 +0100)
Changes
cmd/crontab

diff --git a/Changes b/Changes
index ba03326da4753274fec0b02c3a62a0fc1256240f..38bc71a3ffd36257528a27751119f6c443e90dc2 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,4 +1,6 @@
-13May20=======================================================================
+16May20=======================================================================
+1. Crontab can now spawn_cmd('export_users') - very safely.
+15May20=======================================================================
 1, Changed the underlying storage engine from Storable to JSON. Seems to run
    much faster! Exporting the user file with 181000 records takes ~5.1secs
    with Storable and ~1.5secs. No more thaw() version mismatches! 
index 8d48c8a42896e74d57284677d2d93404a9a15723..e569ed319ebaba07ee4769a6d7de08b8972cd4ce 100644 (file)
@@ -6,5 +6,5 @@
 # for doing connections and things
 #
 2 0 * * * DXDebug::dbgclean()
-30 2 * * 3 run_cmd("export_users")
+30 2 * * 3 spawn_cmd("export_users")
 0 3 * * * Spot::daily()