Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
code:laravel:scheduler [2020/04/24 16:32] – [Windows Task Manager - Actions Tab] gerardorourkecode:laravel:scheduler [2020/04/24 16:36] (current) – [App/Console/Kernel.php] gerardorourke
Line 11: Line 11:
         $schedule->command('ldap:import ldap', [         $schedule->command('ldap:import ldap', [
             '--no-interaction',             '--no-interaction',
-            '--restore', +            '--restore', // This will restore users which were soft deleted and LDAP now says they are enabled 
-            '--delete', +            '--delete', //This will soft delete any LDAP Users who are now disabled. 
-            '--filter' => '(objectclass=user)',+            '--delete-missing', //This will soft delete any records NOT found 
 +            '--filter' => '(objectclass=user)', //This is the LDAP filter - be care if using delete-missing to include a filter for ALL your records
         ])->hourly();         ])->hourly();
  
  • code/laravel/scheduler.1587742373.txt.gz
  • Last modified: 2020/04/24 16:32
  • by gerardorourke