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 would like to write a script that would open a excel file periodically after certain intervals. How do I do it?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I assume you want to open the Excel file on Ubuntu with the associated application (LibreOffice Calc, gNumeric, etc.)

The script would then look like:


while true; do
  xdg-open /home/arp/Documents/periodic.xls
  sleep 600; # sleeps for 10 minutes or 600 seconds, adjust as desired

You can adjust the filename and the sleep time above.

share|improve this answer

Your Answer


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.