@@ -53,7 +53,7 @@ There are a few parameters available to get things rolling:
5353| i | ** i** nterval: Number of seconds to wait between getUpdates requests (used for getUpdates method, default is 2). |
5454| | This would be used mainly via CLI, to continually get updates for a certain period, every ** i** seconds. |
5555| g | ** g** roup: Commands group for cron (only used together with ` cron ` action, default group is ` default ` ). |
56- | | Define which group of commands to execute via cron. |
56+ | | Define which group of commands to execute via cron. Can be a comma separated list of groups. |
5757
5858#### via browser
5959
@@ -76,6 +76,12 @@ Handle updates once:
7676Handle updates for 30 seconds, fetching every 5 seconds:
7777- ` http://example.com/manager.php?s=super_secret&l=30&i=5 `
7878
79+ ** cron**
80+
81+ Execute commands via cron:
82+ - ` http://example.com/manager.php?s=super_secret&a=cron&g=maintenance ` or multiple groups
83+ - ` http://example.com/manager.php?s=super_secret&a=cron&g=maintenance,cleanup `
84+
7985#### via CLI
8086
8187When using CLI, the secret is not necessary (since it could just be read from the file itself).
@@ -99,6 +105,12 @@ Handle updates once:
99105Handle updates for 30 seconds, fetching every 5 seconds:
100106- ` $ php manager.php l=30 i=5 `
101107
108+ ** cron**
109+
110+ Execute commands via cron:
111+ - ` $ php manager.php a=cron g=maintenance ` or multiple groups
112+ - ` $ php manager.php a=cron g=maintenance,cleanup `
113+
102114### Create the manager PHP file
103115
104116You can name this file whatever you like, it just has to be somewhere inside your PHP project (preferably in the root folder to make things easier).
0 commit comments