Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Is there a way to make the pc and web servers restart routinely/automatically?

    • Article Type: General
    • Product: DigiTool
    • Product Version: 3

    Is there a way to configure the system so that the pc and web servers restart routinely?

    Yes - please see the example crontab entry below:

    #Re-start pc_server every morning at 3:30am Central
    30 3 * * 1-5 /exlibris/dtl/d3_1/dtl/proc/pc_server 6881 &

    #Re-start web_server every morning at 3:31am Central
    31 3 * * 1-5 /exlibris/dtl/d3_1/dtl/proc/www_server 4881 8881 2 &

    You may have to test first whether the cron dtl user will be able to interpret the relevant environment variables ($WWW_HOST, $PC_SERVER_PORT, $HTTPD_PORT).

    If it doesn't work, try using the actual $WWW_HOST value (you can type echo $WWW_HOST to get that value) same goes for the other env variables (e.g.): >>echo $WWW_HOST >>echo $PC_SERVER_PORT
    6881 >>echo $HTTPD_PORT

    Additional Information

    pc_server, web_server, restart, routinely, automatically, cron, crontab

    • Article last edited: 10/8/2013