I have a shell script that exports values of variables when executed. The same values will be used in another script.How to run this script(test.sh) in cron.#!/bin/shexport I=10echo $II will be using root access for cron.I tried this command :    */5 * * * * /home/ubuntu/backup/.test.shI checked with environment variables, nothing is updated.
How to run a shell script with export command in crontab
shell;shell script;cron;environment variables