Get up and running with Cronium in just a few minutes. This guide will walk you through creating your first automated script.
By the end of this guide, you'll have a working automated script that runs on a schedule.
You'll need a Cronium account to get started.
SSH access to a server for remote execution.
Access your Cronium dashboard
Navigate to your Cronium instance and sign in with your credentials. If you don't have an account yet, you can create one using the sign-up form.
Tip: Make sure to verify your email address if this is your first time signing in.
Configure a server for remote script execution
Before creating events, you'll need to add at least one server where your scripts can run.
Go to Dashboard → Servers → Add Server
Paste your private SSH key or generate a new key pair:
# Generate a new SSH key pair
ssh-keygen -t rsa -b 4096 -C "cronium@yourserver"
# Copy your public key to the server
ssh-copy-id user@your-server.comSecurity Note: Your SSH keys are encrypted and stored securely. Cronium uses industry-standard encryption to protect your credentials.
Set up an automated script
Now let's create a simple event that will run a basic script on your server.
Go to Dashboard → Events → Create Event
Add this simple script:
#!/bin/bash
# Simple hello world script
echo "Hello from Cronium!"
echo "Current date: $(date)"
echo "Server hostname: $(hostname)"
# Show system information
echo "System uptime:"
uptimeChoose the server you added in the previous step.
Run your script manually to ensure it works
Before scheduling your event, let's test it to make sure everything works correctly.
Click the "Run Now" button next to your event.
Watch the real-time logs as your script executes:
Check the execution logs and verify that your script ran without errors.
Success! If you see the output above, your event is working correctly and ready to be scheduled.
Set up automatic execution
Now that your event is working, let's schedule it to run automatically.
Click "Edit" on your event and navigate to the Schedule section.
Choose when you want your script to run. Here are some common examples:
* * * * *0 * * * *0 2 * * *0 0 * * 1For testing, let's use */5 * * * * to run every 5 minutes.
Make sure the event is set to "Active" status.
Click "Save Event" to activate the schedule.
Congratulations! Your event is now scheduled and will run automatically. You can monitor its execution in the Events dashboard.
Learn about advanced features like workflows, environment variables, and monitoring.
View Features GuideCreate complex automation workflows with multiple events and conditional logic.
Learn WorkflowsIntegrate Cronium with your applications using our comprehensive API.
View API DocsStep-by-step guides for common tasks and advanced use cases.
Browse GuidesIf you run into any issues or have questions, here are some resources: