Skip to main content
Dale Kelley
Participating Frequently
Apr 27, 2023 1:45 PM UTC

Initiate UniVerse phantom on Linux boot

One of my customers has a phantom named "SLEEPY" that runs continuously
making nightly backups, processing transactions from a Fuelmaster pump
system and producing some daily reports. Currently we start SLEEPY
manually from the Centos 8 console as "root" after each startup;
UniVerse 11.3.4. I would like to automate his start as part of the boot
process. I think I understand the .rc command to start the UniVerse
session but I'm uncertain about getting it started as "root", spawning
the phantom and then logging out. I would appreciate any suggestions.
Dale

    1 reply

    Jonathan Smith
    Rocketeer
    Apr 27, 2023 2:21 PM UTC
    One of my customers has a phantom named "SLEEPY" that runs continuously
    making nightly backups, processing transactions from a Fuelmaster pump
    system and producing some daily reports. Currently we start SLEEPY
    manually from the Centos 8 console as "root" after each startup;
    UniVerse 11.3.4. I would like to automate his start as part of the boot
    process. I think I understand the .rc command to start the UniVerse
    session but I'm uncertain about getting it started as "root", spawning
    the phantom and then logging out. I would appreciate any suggestions.
    Dale

    Dale,

    Instead of modifying the UniVerse start up scripts, another option to look at is use the OS crontab functionality for the root user. You could use that to run a checking process that runs every hour to see if the phantom process is running and then start the process from the crontab.

    Regrards,



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS