FG
💻 Software

Run Linux script at time 'n' on first day, 'n+15 mins' next day, and so on

Fresh5 days ago
Mar 15, 20262185 views
Confidence Score0%
0%

Problem

I'm trying to take timelapse images using my webcam. What I want to do is run a script at midnight on 1st Jan, then 00:15 on 2nd Jan, 00:30, 3rd Jan and so on. This can keep running forever, I'll switch it off when I'm done. I can't do this with Cron, can I, without filling a crontab with every pos…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Run Linux script at time 'n' on first day, 'n+15 mins' next day, and so on

Low Risk

Instead of creating a new cron job in your script, and having to remove the "old" cron job every time too, you should use the command instead. The command was created exactly for that, to let a command run once at a specific date/time. This way, you…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment