Task: Implement a Script That Runs a Command Every 30 Seconds
Task: Implement a Script That Runs a Command Every 30 Seconds: a task in Terminal-Lego-15k (Harbor dataset). The standard cron utility on Linux has a minimum granularity of 1 minute. The cron expression /30 actually runs every 30 minutes , not every 30 seconds. Your task is to implement a reliable…
The task
The standard cron utility on Linux has a minimum granularity of 1 minute. The cron expression `*/30 * * * *` actually runs every 30 **minutes**, not every 30 seconds. Your task is to implement a reliable mechanism to execute a command every 30 seconds using approaches that work on Ubuntu/Linux systems.
Part of PrimeIntellect/Terminal-Lego-15k.