I would like to know if RPi booting is done without connecting to the monitor. So, I would like to use LED connected to the GPIO to know it. What code should I write?
cron is one way to do it, just set the "time" to
Another way is with your startup system, which for Raspbian Wheezy is
upstart. You can see this page on how to set it up. Basically, you need your LED to be activated by a bash script (this usually involves setting the appropriate GPIO pin high). Once you have that script, it's a simple matter of registering it with
upstart using the