I’m trying to check if a number differs from what it was last time it was checked, in this case checking a number every minute, using Linux scripts and cron. eg: But the problem I am having is that the variables aren’t accessible between scripts and using source (eg. source script.sh) runs the script again, hence getting the latest version,