Quote:
Originally Posted by
temhem
i know cron.But,
when i want to use script.sh via cron, it hadn't run, i think i have got permission problem. if i success run script.sh via "at" command.
i will call myscript.sh(will run script.sh) via cron.
Thanx
Hello,
* * * * * command to be executed
- - - - -
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)
Set proper environment and permission !
Command to be executed :
export USER=user; /path/script to be executed
Regards