Can the crontab bring an environment variable?

zhaozj2021-02-16  81

The crunk cannot be brought into task environment variables, so you must have an environment variable required in the timed script, which understands the original case, there is no export lang variable in the SH script of logic backup, but this variable is already .bash_profile defined in the time, then confused why did the IMP Times Character set were not right. It turned out that crontab could not be brought into environment variables.

转载请注明原文地址:https://www.9cbs.com/read-13345.html

New Post(0)