Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117605442
D5316.1774865206.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D5316.1774865206.diff
View Options
diff --git a/src/app/Console/Kernel.php b/src/app/Console/Kernel.php
--- a/src/app/Console/Kernel.php
+++ b/src/app/Console/Kernel.php
@@ -20,8 +20,13 @@
// This notifies users about coming password expiration
$schedule->command('password:retention')->dailyAt('06:00');
- // This applies wallet charges
- $schedule->command('wallet:charge')->everyFourHours();
+ if (\config('app.with_wallet')) {
+ // This applies wallet charges
+ $schedule->command('wallet:charge')->everyFourHours();
+
+ // This notifies users about an end of the trial period
+ $schedule->command('wallet:trial-end')->dailyAt('07:00');
+ }
// This removes deleted storage files/file chunks from the filesystem
$schedule->command('fs:expunge')->hourly();
@@ -29,9 +34,6 @@
// This cleans up IMAP ACL for deleted users/etc.
// $schedule->command('imap:cleanup')->dailyAt('03:00');
- // This notifies users about an end of the trial period
- $schedule->command('wallet:trial-end')->dailyAt('07:00');
-
// This collects some statistics into the database
$schedule->command('data:stats:collector')->dailyAt('23:00');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 30, 10:06 AM (6 d, 5 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18803139
Default Alt Text
D5316.1774865206.diff (1 KB)
Attached To
Mode
D5316: Skip scheduled wallet commands if wallets are disabled
Attached
Detach File
Event Timeline