Help using Base SAS procedures

Automatically run and schedule python scripts

Reply
Contributor
Posts: 48

Automatically run and schedule python scripts

Hi,

 

I have a number of python scripts, each stored in individual folders on my network. I want to be able to run these scripts automatically in a sequence and output csv's in each folder. The method of data extraction is using python selenium so in each folder you have a "Py" file as well as a Chrome Webdriver that calls Google Chrome.

 

Would you happen to know how I can automate the running of these scripts automatically and even schedule at a time each month? I am currently using SAS 9.4 and Enterprise Guide.

 

Many thanks

Chris

Valued Guide
Posts: 595

Re: Automatically run and schedule python scripts

I'm not sure why this is a SAS question, why not just use the Windows Scheduler or Cron depending on your operating system?

Super User
Posts: 10,280

Re: Automatically run and schedule python scripts

SAS stands for "Statistic Analysis Systems". Where do you see "scheduler" in that name?

 

Use the proper tool for your task, which means a scheduling system.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 2 replies
  • 243 views
  • 0 likes
  • 3 in conversation