Shutdown on pre-Defined Date

User avatar
pgemelgo
Member
Posts: 43
Joined: 10 Mar 2010 01:55
Location: Nairobi, Kenya

Shutdown on pre-Defined Date

Post by pgemelgo »

Hi All

Does anyone know how I can programme and OXE to shutdown on a Pre-Defined date and time?

Hope anyone can help?

Thanks

Pedro
User avatar
alex
Senior Member
Posts: 1458
Joined: 06 Jul 2004 07:27
Contact:

Post by alex »

man crontab
If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.
User avatar
pgemelgo
Member
Posts: 43
Joined: 10 Mar 2010 01:55
Location: Nairobi, Kenya

Shutdown Pre-defined

Post by pgemelgo »

Thanks for the reply, could you help me with a format and how to get in and do it?
hemsassi
Member
Posts: 1
Joined: 15 Jul 2008 04:39

Post by hemsassi »

Or try this command
echo "shutdown -r now" | at 1230
vad
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3806
Joined: 23 Sep 2004 06:47

Post by vad »

Uncontrolled shutdown? For what reason?
User avatar
pgemelgo
Member
Posts: 43
Joined: 10 Mar 2010 01:55
Location: Nairobi, Kenya

Post by pgemelgo »

Hi there.

The reason for this is because we are trying to get more aggresive on clients renewing their SLA with us. When the SLA expires the systems carries on working and clients feels no need to pay, so we are looking for something where a change in the system happens that they are then forced to pay for services, when they have no service. I know its drastic, but because we in Africa we need to play "Hard Ball" and make a statement that you dont pay for service, you do have service.

I know that we can write in the cron, but dont know what we should write in the cron so that we can put in a future date, like 12 months from when they sign the SLA the system shuts down. So any help on how to write into cron, would be help full.

Thanks

Pedro
User avatar
murraya
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 900
Joined: 16 Oct 2007 02:35

Post by murraya »

I think its a bit harsh :(
if they dont pay just delay service. SLA is just service level agrement between you and the customer. It doesn't mean that the site should stop working. The only time to envoke that would be if they lease the equipment off you hand have not paid their lease.
Best Regards
Murray

ACSE 10.0 corporate
ACSE 6.x IPT data
User avatar
pgemelgo
Member
Posts: 43
Joined: 10 Mar 2010 01:55
Location: Nairobi, Kenya

Post by pgemelgo »

Hi Murray

I understand what you saying and feel the same, but unfortunatey here in Africa if the client still has the service running, he says well why should I pay if it works??? So if we have it switch off after the SLA period, they will require to pay....evil I know...........but it works here in the Horn Of Africa!! LOL
vad
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3806
Joined: 23 Sep 2004 06:47

Post by vad »

This is common problem for services.
If client have many problems - client want to change service company.
If service good but client have no problem - another problem - why we need to pay if everything OK.
User avatar
pgemelgo
Member
Posts: 43
Joined: 10 Mar 2010 01:55
Location: Nairobi, Kenya

Post by pgemelgo »

Ok good to know you agree with me, LOL.
So can you assist with this predefined shutdown? LOL
Post Reply

Return to “Linux tricks”