mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
improve cleanup schedule
This commit is contained in:
@@ -98,8 +98,8 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$str = "abc";
|
||||
$diff = strstr($str, ",", true);
|
||||
$interval = 100;
|
||||
$diff = sprintf("*/%d * * * *", ceil($interval/60));
|
||||
dd($diff);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user