I would like to run this terminal command:
cat mouse.macro | xmacroplay :0
Every two minutes. can I set cron up to do this?
I would like to run this terminal command:
cat mouse.macro | xmacroplay :0
Every two minutes. can I set cron up to do this?
Hi,
Yes, you can set up cron to run a command.
To edit your crontab go to a terminal and enter:
crontab -e
Your default text editor will open with your crontab file in it.
To perform a command every 2 minutes enter the frequency and command like so:
*/2 * * * * *command to execute*
Leave a blank line at the end of the file, save and exit the editor in the usual way.
I hope this helps.
Regards,
Barry.
If you need more background to cron in openSUSE, or if you want to change the editor that opens with “crontab -e”, then this might help:
Cron Tables (Crontab) in Suse / openSUSE [Event Scheduler for 10.x, 11.x]