denngarr/seat-scripts

A module for SeAT that contains useful command-line scripts

Installs: 418

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Type:seat-plugin

3.0.0-beta3 2018-05-15 19:47 UTC

This package is not auto-updated.

Last update: 2024-04-18 09:10:36 UTC


README

This is an extention for one-off scripts to help maintain SeAT installations.

seat-script:users:update

  • Scheduled: Yes
  • How Often: Every 5 minutes

Description:

This script will search each user and based on the API keys they own, will be added to any existing Role with the same name as the Corporation or a Corp Title. You must create the role name the same as the Title or Corporation for this script to add the user. This is great for general members where you can create the association with their corp, killboards, corp summary, etc.

Installation

From the command-line, run:

composer require denngarr/seat-scripts

Edit config/app.php

In the Package Service Providers block, add:

    Denngarr\Seat\SeatScripts\ScriptsServiceProvider::class

Then from the command-line, run:

php artisan vendor:publish --force

Now, if you run:

php artisan

You should see the new command(s) added. These commands will also show up in the scheduler.