Making a cronjob for downing the database and poweing off the system,
hello every body,
i am using ASYCUDA++ system which for custom's, the server is after taking a backup is running again on 19:30, so i am going to be down automatically on 19:31 the ASYCUDA++ and oracle database, and also power off the system, please help me in this regard, |
it wouldn't be a cron job, you're better off using at.
Code:
at 19:31 /sbin/poweroff |
while i am trying to use this in my test serve, it says there is no crontba for root user.
crontab is installing a new cronjob |
I suggested already that you shouldn't use cron.
|
Quote:
|
then what to do dear?
|
as above, you should use at. And don't call people "dear", it's what you'd call your wife. :)
|
thanks and sorry, but still i have the problem, it seems there is no crontab file or smothing like that in the system, because while i am going to save your mentioned cron job it says nothing installed and there is no crontab in the path.
|
|
All times are GMT -5. The time now is 08:30 AM. |