Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to run some executable files, not when system startup, but after a few second after login?

It is a *.sh files.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You can use a master bash file that contain a sleep time & all your executable.

Like,

#!/bin/bash          
sleep 30 && StartmyJob1.sh

Now make this master.sh file to run at startup.

Also refer to this guide How do I start applications automatically on login?

share|improve this answer
    
Will *.sh be executed after 30 seconds? Where do I put my *.sh files? –  Nur Apr 3 '13 at 17:28
    
yes.. you can keep sh file anywhere. Just add a entry in start up application. Follow this guide How do I start applications automatically on login?. For a system wide get knowledge of upstart –  Web-E Apr 3 '13 at 17:46
    
Solved my problem. Thanks. –  Nur Apr 3 '13 at 17:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.