Hi Satish,
During booting, all the servies (either started/stopped) based on run
level.. when you need any job or any custom script, you can edit the
file /etc/rc.d/rc.local
this file gets executed after all your boot process.
so for your requirement, I would suggest below lines at the end of
file,
sleep 120 # Sleep for 2 mins
vlc -vvv <FILENAME> & # Launch the vlc with the
required video file in background
process_no=$! # Get the job number of
the launched process
sleep 300 # Sleep for 5 mins
kill -9 ${process_no} # Kill playing
I haven't done any research on vlc commandline interface.. the above
may not play exact 5 mins of video.. if you got any solution
meanwhile.. please share with me...
Thanks,
Rajesh