Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
B
bs-utils-tools
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bs
bs-utils-tools
Commits
bb5e3a10
Commit
bb5e3a10
authored
Feb 03, 2025
by
Krit Punpreuk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update backup_bsjob.sh
parent
b7763153
Pipeline
#1532
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
backup_bsjob.sh
backup_bsjob.sh
+2
-2
No files found.
backup_bsjob.sh
View file @
bb5e3a10
#!/bin/bash
# First API endpoint - returns an array of strings
API_URL
=
"https://
mecas02.igridproject.info/bs
api/jobs"
API_URL
=
"https://
bscontrol
api/jobs"
# Second API endpoint - combine each element from the first API
SECOND_API_URL
=
"https://
mecas02.igridproject.info/bs
api/jobs/"
SECOND_API_URL
=
"https://
bscontrol
api/jobs/"
# Directory to store the response files
SAVE_DIR
=
"save_jobs"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment