Is there any possibility to run a cron job with dynamic time interval? Please suggest. I have used Ruby on rails, whenever .
Asked
Active
Viewed 324 times
3
-
Yes, Using webmin you can run a cron job with dynamic time interval. – Deepika May 24 '13 at 05:48
-
Webmin is not something you should use just for dynamic time interval jobs. – Daniel Lockard May 24 '13 at 06:05
1 Answers
2
You might be looking for the at
command. You can use at
to trigger a cron
-like event at a certain time.
Here are some examples:
$ echo "wget https://www.example.com" | at 11:45 jan 31
I believe this also works:
$ echo "wget https://www.example.com" | at now next week

wp78de
- 18,207
- 7
- 43
- 71

Daniel Lockard
- 615
- 3
- 11