Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Better Cron TasksNew to Visual Studio Code? Get it now.
Better Cron Tasks

Better Cron Tasks

Freaxys

|
131 installs
| (1) | Free
VSCode Task Scheduler
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Better Cron Tasks

License Visual Studio Marketplace Version

Based on the Cron Tasks

With Better Cron Tasks, you can schedule tasks/jobs to run periodically at fixed times, dates, or intervals.

HowTo

In your settings.json:

"cronTasks.tasks": [
    {
        "at": "* * * * *",
        "run": "workbench.action.tasks.runTask",
        "args": ["nameOfYourTask"]
    },
],
  • at: a cron expression
  • run: a vscode command
  • args: argument you want to pass to the command

Debugging

The extension always prints out debug information into the channel Better Cron Tasks of the panel Output (menu: View / Output).

But if the property cronTasks.debug (false by default) is true or "on", the extension will bring that channel to focus.

blank

With "cronTasks.debug": "useBlank", the extension will print out debug information as usual but it won't call the final task.

test command

The command cronTasks.showTestMessage will display a simple notification.

Notification

The property cronTasks.notification (minor by default) indicates when to show the update notification.

Enjoy!

Attributions

Clock icons created by Freepik - Flaticon

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft