The one below is a common way how a master and a child script do data sharing:
cron job -- schedule --> master script
HTTP request -- trigger --> child script
master script --> [database] <-- child script
But is it possible to them to share the data using any of these below, instead of the database?
global
variablememcached
- yesapc
- yes, but will require explicit configuration to enable in cli sapiramfs
to store files in an in-memory filesystem.In case i left anything out, you can search for php interprocess communication