in reply to Process autorestart after 10seconds!

Your question's far too vague to answer directly but:

Of course you might also want to look into using something like cron instead to start yourself periodically, although most implementations only have minute resolution (not second).