Hi all.
I need to create a script that pulls data from a X source with the following format:
pingdom-run-export --config config_spec.yml --type results --checks-from $from --checks-to $to
I need to set from and to variables on the script and both variables needs to be at epoch format.
This is how I started my script:
#!/bin/bash
from=$(date +"%s" - 604800)
to=$(date +%s)
Any ideas?