TalerSyncUtil
in package
\file lib/talersync.lib.php \ingroup talerbarr \brief Lightweight launcher for the background synchroniser.
Table of Contents
Methods
- launchBackgroundSync() : void
- Fire-and-forget background run of core/sync/talerbarrsync.php
Methods
launchBackgroundSync()
Fire-and-forget background run of core/sync/talerbarrsync.php
public
static launchBackgroundSync([bool $force = false ][, string|null $path_to_core = null ]) : void
Parameters
- $force : bool = false
-
pass --force to the script
- $path_to_core : string|null = null
-
If your module has an unusual layout you can inject the absolute path to its “…/core” directory here.