From: Dirk Koopman Date: Fri, 15 May 2020 23:31:38 +0000 (+0100) Subject: change system crontab to spawn export_users X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=20322ed06e983ca2ab5020a1f7227eaa1fbdac7a change system crontab to spawn export_users --- diff --git a/Changes b/Changes index ba03326d..38bc71a3 100644 --- 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! diff --git a/cmd/crontab b/cmd/crontab index 8d48c8a4..e569ed31 100644 --- a/cmd/crontab +++ b/cmd/crontab @@ -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()