Horje
crontab command not found Code Example
crontab command not found
## Cron often clears the whole $PATH environment
## So the shell doesn't know where to look for the command

## You should set the $PATH enviorment in crontab:
PATH="/usr/local/bin:/usr/bin:/bin"
0 1 * * * db2 connect to myDB2

## Or add the $PATH enviorment in your script:
#!/bin/bash
PATH="/usr/local/bin:/usr/bin:/bin"

# rest of script follows




Shell

Related
installing pytorch Code Example installing pytorch Code Example
bash how to remove the first n lines of a file Code Example bash how to remove the first n lines of a file Code Example
python pytorch Code Example python pytorch Code Example
install pytorch Code Example install pytorch Code Example
Failed to set up listener: SocketException: Address already in use Code Example Failed to set up listener: SocketException: Address already in use Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11