SPSS Statistics

 View Only
  • 1.  SPSS autorun

    Posted Fri November 19, 2021 01:39 PM
    Afternoon, is there way to have SPSS statistics run automatically at a set time?  I'm running a file through syntax to produce a file, and then pulling the end file into powerbi.  It has to be done daily.  - Thanks for your help Arthur.

    ------------------------------
    Art Jack
    ------------------------------

    #SPSSStatistics


  • 2.  RE: SPSS autorun

    IBM Champion
    Posted Fri November 19, 2021 01:49 PM
    Statistics does not have a built-in scheduler, but your operating system provides this.
    On Windows 7 and earlier, you could use the AT command.  In Win 10, this has been replaced with
    schtasks

    Run schtasks /? at a command prompt for details on how to do this.

    On Mac/Linux, you would use the similar cron command.

    Presumably you want to run Statistics as a batch job. - not the gui.  To do this you would use production mode.

    See this link on how to create a production job

    See this link on the command line options

    --