Search the Community
Showing results for tags 'cron'.
Quite a few people have asked for the ability to execute workflows at certain times. Well, here's (kind of) a solution. Alfred Cron (note: consider this workflow to be a 'beta' right now) with will run any bash command on any interval that you define. Now, this means that you can run any script of any kind (to run a python script, you'd just write: python "/path/to/script.py" 'args'). It also means that you can take advantage of the new External Triggers in Alfred. So, if you want to run a workflow in the background at a certain time, then you can as long as there is an External Trigger for that workflow. Fun idea: if you're decently good at scripting, then you can replace Hazel with this workflow. You can define cron jobs through a nifty little GUI box. Just, see it in action in the GIF below: More detailed documentation is available at http://shawnrice.github.io/alfred-cron. Download it from Packal. Note: Alfred Cron uses the Alfred Bundler framework, so when you first execute the workflow, it will take a moment to install the bundler, Pashua, BashWorkflowHandler, and Terminal Notifier. So, be patient at first. They need to download only once. Also, Alfred Cron makes use of Ctwise's brilliant SetupIconsForTheme, so the workflow will adjust to your Alfred whether it is light or dark.