projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2d43d37
)
change system crontab to spawn export_users
author
Dirk Koopman
<djk@tobit.co.uk>
Fri, 15 May 2020 23:31:38 +0000
(
00:31
+0100)
committer
Dirk Koopman
<djk@tobit.co.uk>
Fri, 15 May 2020 23:31:38 +0000
(
00:31
+0100)
Changes
patch
|
blob
|
history
cmd/crontab
patch
|
blob
|
history
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!
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 8d48c8a42896e74d57284677d2d93404a9a15723..e569ed319ebaba07ee4769a6d7de08b8972cd4ce 100644
(file)
--- a/
cmd/crontab
+++ b/
cmd/crontab
@@
-6,5
+6,5
@@
# for doing connections and things
#
2 0 * * * DXDebug::dbgclean()
# for doing connections and things
#
2 0 * * * DXDebug::dbgclean()
-30 2 * * 3
ru
n_cmd("export_users")
+30 2 * * 3
spaw
n_cmd("export_users")
0 3 * * * Spot::daily()
0 3 * * * Spot::daily()