Version 1.0
This commit is contained in:
8
defaults/config.yaml
Normal file
8
defaults/config.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
# 1. List libraries to install at startup
|
||||
dependencies:
|
||||
- datetime
|
||||
|
||||
# 2. Define jobs (Script Name + Cron Schedule)
|
||||
jobs:
|
||||
- script: "hello_world.py"
|
||||
schedule: "* * * * *" # Runs every minute
|
||||
3
defaults/hello_world.py
Normal file
3
defaults/hello_world.py
Normal file
@@ -0,0 +1,3 @@
|
||||
import datetime
|
||||
print("Hello world")
|
||||
print(f"the current date & time is: {datetime.datetime.now()}")
|
||||
Reference in New Issue
Block a user