Skip to content

Latest commit

 

History

History
 
 

shuttle-cron

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Shuttle Cron Template

This repository is an example of how you can deploy a cronjob to Shuttle, the Rust-native dev cloud platform.

Usage

Make sure you have cargo-shuttle installed! If not, you can use cargo install cargo-shuttle to do so. Requires Rust 1.70+ installed.

Run the following to initialise this project:

cargo shuttle init --from shuttle-hq/shuttle-examples --subfolder shuttle-cron

Follow the prompt, then make any changes you want. Once done, you can deploy:

cargo shuttle deploy 

# use this if on a dirty Git branch
cargo shuttle deploy --allow-dirty