difference between
hello all
what is difference between "CRON" or "CRONTAB". plz. reply... thanx Taj |
When I say "Cron", I would be refering to the daemon. There are many cron daemons: vixie-cron, dcron, fcron.
The crontab is what you edit to add jobs that your cron daemon would execute. |
hello sir
sir i have another question... i am using oracle database and linux operating system. right now i have to take bkp on linux. ( i am good on windows but not on linux so i want ur help) i have one cmd from Oracle like exp orion/orion owner=orion file=bkp.dmp log=bkp.log sir i want to above cmd schedule on daily basis. through crontab utilities. so first i create shell script if yes sir how can plz. can you give me example. and then after i will use crontab to run .sh script. again how can use cron tab so i need to connect as root user or can i used normal user.. sir plz. reply taj |
A standard bash shell script will look like this:
Code:
!/bin/bash Once you've done that, there are many ways of editting the different cron daemons scheduled tasks. most people seem to prefer the crontab -e method. |
Actually, it's
#!/bin/bash note the preceding '#', and it must be the first line in the script file. As a rule, cron (the daemon prog) has a a very restricted list of programs it can see by default (ie the $PATH environment variable), so always specify the full path to any programs you want to run in the cron environment. Try this tutorial: http://www.linuxforums.org/forum/lin...scheduler.html |
All times are GMT -5. The time now is 01:32 AM. |