jm1982 Posted June 23, 2013 Share Posted June 23, 2013 Hello, Can anybody tell me what i have to do to start the maintenance scripts with an workflow ? I mean the sudo periodic daily, weekly, monthly scripts. Sorry for the bad english !!!!!!!!! Best Regards jm1982 Link to comment
jdfwarrior Posted June 24, 2013 Share Posted June 24, 2013 Hello, Can anybody tell me what i have to do to start the maintenance scripts with an workflow ? I mean the sudo periodic daily, weekly, monthly scripts. Sorry for the bad english !!!!!!!!! Best Regards jm1982 Create a workflow using the Template->Essentials->Keyword to Applescript to Notification template. Double click the keyword, and set the keyword for the script that you wish to run. Save all those settings then move to the Applescript piece. Inside the code block (it's marked where you should insert your code, add the Applescript code... do shell script "<insert command to run script>" with administrator privileges Replace the <insert command to run script> part with the actual command you would use at the terminal to run the script. That should get you going. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now