Creating Smart Schedules

Automate when your resources run to save up to 70% on cloud costs.

What are Schedules?

Schedules in Huskar define when your cloud resources should be running (ON) or stopped (OFF). Using a simple grid-based interface, you can set each hour of each day to automatically start or stop your resources.

Example: A development environment that runs Monday-Friday, 9 AM - 6 PM saves approximately 70% compared to running 24/7.

Creating Your First Schedule

  1. Navigate to Schedules
    Click "Schedules" in your Huskar dashboard sidebar.
  2. Click "Create Schedule"
    Start the schedule creation wizard.
  3. Enter Schedule Name
    Give your schedule a descriptive name (e.g., "Business Hours", "Dev Environment").
  4. Select Timezone
    Choose the timezone for your schedule. This ensures resources start/stop at the correct local time.
  5. Configure Schedule Pattern
    Use the 7×24 grid to set when resources should run:
    • Green (True): Resource should be running
    • Red (False): Resource should be stopped
  6. Save Schedule
    Click "Save" to create your schedule.

Common Schedule Patterns

Business Hours

Pattern: Monday-Friday, 9 AM - 5 PM

Savings: ~65%

Perfect for development and staging environments used only during work hours.

Nights & Weekends Off

Pattern: Monday-Friday, 8 AM - 6 PM

Savings: ~58%

Ideal for resources that need extended hours but not 24/7 availability.

Weekdays Only

Pattern: Monday-Friday, 24 hours

Savings: ~29%

For resources that need to run all day but can be stopped on weekends.

Testing Windows

Pattern: Custom hours for testing

Savings: Varies

Create specific windows for QA testing or performance benchmarking.

How Schedule Execution Works

Every 5-10 Minutes

Huskar checks all active schedules

Calculate State

Determines desired state based on current time and timezone

Compare Status

Compares desired state with actual resource status

Execute Action

Starts or stops resources as needed

Attaching Schedules to Resources

After creating a schedule, attach it to your resources:

  1. Go to Cloud Resources
  2. Select one or more resources
  3. Click Attach Schedule
  4. Choose your schedule from the dropdown
  5. Click Apply
Tip: Multiple resources can share the same schedule, or each resource can have its own unique schedule.

Best Practices

  • Start Conservative: Test schedules on non-critical resources first
  • Use Descriptive Names: Name schedules clearly (e.g., "Dev-BusinessHours" not "Schedule1")
  • Set Correct Timezone: Always verify the timezone matches your team's location
  • Review Regularly: Update schedules as your team's needs change
  • Monitor Logs: Check execution logs to ensure schedules are working as expected

Ready to Create Your First Schedule?