in reply to Re: Perl local dashboard?
in thread Perl local dashboard?

I have a system that runs scripts via a cron all day, and i'd like a place to show status of scripts running. ie if they err or didn't run for a reason so anyone can log on and see status. Ideally i'd love to also trigger the script from this interface so no one touches the actual script file, but can run adhoc as needed. I was hoping there was some sort of cron dashboard that would show this.

Replies are listed 'Best First'.
Re^3: Perl local dashboard?
by marto (Cardinal) on Aug 10, 2021 at 14:37 UTC

    Surely this would depend on how your existing scripting logs all of these things, which would mean such a dashboard would be quite specific to you. Mojolicious::Lite would be my first port of call.

      one step further.

      maybe something like that could be doable with Minion and Mojolicious::Plugin::Cron.

      so far i didn't try to call scipts from a or as a minion task.

        Thanks for the inspiring links. Especially the one to Minion. Best regards, Karl

        «The Crux of the Biscuit is the Apostrophe»

      Yes sure. But in my understanding a dashboard is just made for displaying something. What ever it is.

      «The Crux of the Biscuit is the Apostrophe»

        Displaying mostly, sometimes triggering events, in this case kicking off a script it seems.

Re^3: Perl local dashboard?
by parv (Parson) on Aug 10, 2021 at 23:40 UTC

    In that case (of Cron), there is Crab written in Python. To trigger a job, time to run it can be modified via its web interface; do not know if there is a way to do one-off run. IIRC one may need to Crabify the crontabs of interest.