I have created a cronjob that runs every 60 seconds which is not frequent enough for me. It is a simple command: wget localhost How can I run this commenad every 30, 16 seconds on my mac?
| ||||
|
feedback
|
|
Run your command using launchd instead. Use the property list files in To specify a launch interval of e.g. 30 seconds, use the following:
| |||||||
feedback
|
|
Write a bash script which runs every minute. Put the wget in a loop, or simply consecutive calls, with | |||
|
feedback
|
|
You could try the following:
Replace and as appropriate. Edit: When you're done needing to run ever seconds, Control+c will kill it. | |||||||||
feedback
|