- Press WinKey+R > type taskschd.msc and press Enter (it will launch Task Scheduler)
- Left click from the right pane on the Task Scheduler Library > open Action from the top menu >New Folder... > name it MyTasks > click OK
- Left click on the MyTasks > choose Action from menu > Create Basic Task... (it will open task wizard)
- You can enter the Name , for example "Restart", and press Next
- In Trigger section you can specify when you want to run your task, for example:
- Select Daily , and press Next
- Now you can specify the day, the hour and set to recur every day, after that press Next
- In Action section you can choose what you want to run, for example restart your system, to do this:
- choose Start a program , and press Next
- in the Program/script field type shutdown /r , and press Next
- And that's all, you can press Finish
Tuesday, November 18, 2014
Scheduler to reboot Windows PC
Tuesday, November 11, 2014
Multi Line comment in Shell Script
We know that we can comment a line using '#' in Shell Script, but what if we want to comment a huge block of code? If we use '#' to comment that block then this can be very tedious task. Rather than using single line comment we can use multi line comment. In this tutorial i will show you how to use multi-line comment in Shell Script.
In Shell Script multi line comment can be of form
Let see example of multi line comment
In Shell Script multi line comment can be of form
<<'COMMENT'
what ever written here is a comment
COMMENT
what ever written here is a comment
COMMENT
Let see example of multi line comment
- #!/bin/bash
- echo "Hii guys"
- #starting of mullti line commnent
- <<'COMMENT'
- read a
- echo "No line in this block will execute"
- COMMENT
- echo "Hello Guys"
- exit
Wednesday, January 15, 2014
Plugged in, not charging Windows 7 solution
There are multiple solutions proposed, and here are the steps that fixed it for me:
- Disconnect AC
- Shutdown
- Remove battery
- Connect AC
- Startup
- Open Device Manager, Under the Batteries category, right-click all of the Microsoft ACPI Compliant Control Method Batterylistings, and select Uninstall (it’s ok if you only have 1).
- Shutdown
- Disconnect AC
- Insert battery
- Connect AC
- Startup
Monday, August 26, 2013
Windows Remote Desktop
I can't log on to the remote computer
If you can see the logon screen of the remote computer but you can't log on, add yourself to the Remote Desktop Users Group or to any group with administrative rights on the remote computer (or ask the administrator of the remote computer to do this).
To add a user account to a group
- Open Microsoft Management Console by clicking the Start button
, typing mmc into the search box, and then pressing Enter.
If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
- In the left pane, click Local Users and Groups.
If you don't see Local Users and Groups
If you don't see Local Users and Groups, it's probably because that snap-in hasn't been added to Microsoft Management Console. Follow these steps to install it:- In Microsoft Management Console, click the File menu, and then click Add/Remove Snap-in.
- In the Add or Remove Snap-ins dialog box, click Local Users and Groups, and then click Add.
- In the Choose Target Machine dialog box, click Local computer, and then click Finish.
- Click OK.
- Double-click the Groups folder.
- Right-click the group you want to add the user account to, and then click Add to Group.
- Click Add, and then type the name of the user account.
- Click Check Names, and then click OK.
For More Detail
http://windows.microsoft.com/en-sg/windows7/why-can-t-i-connect-using-remote-desktop-connection
Sunday, August 4, 2013
Auto reconnecting Cisco VPN client
As good as Cisco Systems is at developing cutting edge products, sometimes the products will leave you quite frustrated when certain basic feature are left out. Case in point is their VPN client software.
There is no GUI feature for automatically reconnecting to your V{PN server if your client happens to disconnect (which could be frequently). If you cleint PC is wireless or at a remote or branch office with flaky internet, diconnections could be frequent and annoying.
Here’s how you can confiogure your VPN client to automaticall reconnect to the VPN if it looses it’s connection:
Edit C:Program FilesCisco SystemsVPN Clientvpnclient.ini in Notepad.
The additions to this configuration file that enable autoreconnect are highlighted in bold.
Start of INI file
=====================================
[main] ClientLanguage======================================
AutoInitiationEnable=1 (Turns on the feature)
AutoInitiationRetryIntervalType=1 (1=Seconds, 2=minutes)
AutoInitiationRetryInterval=10 (Sets it to 10 second intervals)
AutoInitiationList=NetworkAll (Specifies what network to watch for auto-reconnect. This list can all the different VPN networks you connect to)
[NetworkAll] (This corresponds to your previous entry. Each network has to be in it’s own bracket with it’s specifics)
Network=0.0.0.0 (indicates any network)
Mask=0.0.0.0
ConnectionEntry=Lavallette Office (points to a connection profile named Lavallette Office.pcf in C:Program FilesCisco SystemsVPN ClientProfiles)
Connect=1
[GUI] DefaultConnectionEntry=Lavallette Office
=====================================
End of INI file
End of INI file
Friday, July 26, 2013
GD::Graph Perl
Welcome to GDGraph.com. This site contains help and information on the Perl GD::Graph module. This site exists because I found that the GD::Graph sample scripts and images didn't generate in an easy-to-view format. Rather than making something temporary that only I could benefit from, why not throw it up on the web so maybe I'll save someone else some time too.
Saturday, June 8, 2013
Subscribe to:
Posts (Atom)