Most herbs are like weeds and will grown even in bad conditions. So peppers are a bit more temperamental, but still not hugely difficult to get growing. There is a difference between a growing pepper and a flourishing plant, but that is for a different thread.
As for 24 hour lights, I do 24/7...