If you are referring to a SAS autoexec.sas file that runs you will need to make sure the machine/user you transfer the program to also has this file and/or code.
As far as automating the program user(s) will need access to the system scheduler in order to schedule the program to run weekly.
If you are using SAS Enterprise Guide the below SAS note is a great resource
Tips for scheduling a SAS® Enterprise Guide® project