help for Restart script

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
gardenair
Havaldaar
Posts: 106
Joined: Tue Dec 28, 2004 10:07 pm

help for Restart script

Postby gardenair » Fri Oct 10, 2008 10:19 am


lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Fri Oct 10, 2008 11:15 am

Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Postby x2oxen » Fri Oct 10, 2008 5:24 pm

If you want to do it on daily basis you can add a cron job with shutdown command
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com

gardenair
Havaldaar
Posts: 106
Joined: Tue Dec 28, 2004 10:07 pm

Postby gardenair » Sun Oct 12, 2008 2:31 pm


eternal peace
Naik
Posts: 86
Joined: Thu Apr 03, 2003 6:44 pm

Postby eternal peace » Mon Oct 13, 2008 5:43 pm

hail to linux!!!

gardenair
Havaldaar
Posts: 106
Joined: Tue Dec 28, 2004 10:07 pm

Postby gardenair » Wed Oct 15, 2008 1:33 pm

chmod +x /etc/cron.daily/sysshutdown


what about it? your suggestions?

x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Postby x2oxen » Wed Oct 15, 2008 9:06 pm

Muhammad Usman

+92-321-6640501

Chemonics International

http://usmanpk.com

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Thu Oct 16, 2008 11:46 am

Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Postby nomankhn » Fri Oct 31, 2008 6:04 am

I think he is asking home work step by step.?

Thanks,
Noman Liaquat

x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Postby x2oxen » Fri Oct 31, 2008 9:44 am

Muhammad Usman

+92-321-6640501

Chemonics International

http://usmanpk.com

nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Postby nomankhn » Sat Nov 01, 2008 4:57 am



Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest