@@ -32,6 +32,7 @@ This command runs a job in Studio using the specified query file. You can config
3232* ` --env-file ENV_FILE ` - File with environment variables for the job
3333* ` --env ENV ` - Environment variables in KEY=VALUE format
3434* ` --cluster CLUSTER ` - Compute cluster to run the job on
35+ * ` --credentials-name CREDENTIALS_NAME ` - Name of the credentials to use for the job
3536* ` --workers WORKERS ` - Number of workers for the job
3637* ` --files FILES ` - Additional files to include in the job
3738* ` --python-version PYTHON_VERSION ` - Python version for the job (e.g., 3.9, 3.10, 3.11)
@@ -97,7 +98,12 @@ datachain job clusters
9798datachain job run --cluster 1 query.py
9899```
99100
100- 9 . Schedule a job to run once at a specific time
101+ 9 . Run a job with specific credentials
102+ ``` bash
103+ datachain job run --credentials-name my-aws-credentials query.py
104+ ```
105+
106+ 10 . Schedule a job to run once at a specific time
101107``` bash
102108# Run job tomorrow at 3pm
103109datachain job run --start-time " tomorrow 3pm" query.py
@@ -112,7 +118,7 @@ datachain job run --start-time "monday 9am" query.py
112118datachain job run --start-time " 2024-01-15 14:30:00" query.py
113119```
114120
115- 10 . Schedule a recurring job using cron expression
121+ 11 . Schedule a recurring job using cron expression
116122``` bash
117123# Run job daily at midnight
118124datachain job run --cron " 0 0 * * *" query.py
@@ -127,13 +133,13 @@ datachain job run --cron "0 * * * *" query.py
127133datachain job run --cron " @monthly" query.py
128134```
129135
130- 11 . Schedule a recurring job with a start time
136+ 12 . Schedule a recurring job with a start time
131137``` bash
132138# Start the cron job after tomorrow 3pm
133139datachain job run --start-time " tomorrow 3pm" --cron " 0 0 * * *" query.py
134140```
135141
136- 12 . Start the job and do not wait for the job to complete
142+ 13 . Start the job and do not wait for the job to complete
137143``` bash
138144# Do not follow or tail the logs from Studio.
139145datachain job run query.py --no-wait
0 commit comments