Files
MugoSquero ae0d8943fe Adding a Config File
1. Ability to configure variables from a JSON file.
2. By default, checkin.sh does not know the value of checkin_file, this commit fixes that.
3. I want to create a web interface, front end, for this project and it is easier for the PHP server to parse the json data.
2023-10-17 21:19:03 +03:00

5 lines
128 B
Bash
Executable File

#!/bin/bash
# Save the current timestamp to your checkin file
date +%s > "$(jq -r .checkin_file config.json)"
echo "Checked in"