0

I wanted to know if there is possibility in Linux shell scripting where variable stored in first script execution ( cron job) can be passed to next cron job schedule

For example : If my script store some value in variable X in first execution , then this value should be passed to script execution in next cron job schedule and so on..

Regards, Hari

  • 1
    Possible duplicate of [Can I export a variable to the environment from a bash script without sourcing it?](https://stackoverflow.com/questions/16618071/can-i-export-a-variable-to-the-environment-from-a-bash-script-without-sourcing-i) – Dmitry Jan 02 '18 at 18:06
  • also https://askubuntu.com/questions/53177/bash-script-to-set-environment-variables-not-working – Dmitry Jan 02 '18 at 18:07

0 Answers0