I want to run a command for ever in the Linux bash. Also I want to put 60 seconds between command execution.
Recommended Answers
Jump to PostFor me that's a script with three lines.
Echo something.
do something
sleep 60
goto topThis is psuedo code so you need to craft it for the shell you use.
Jump to PostWhy not use
cron
:
All 5 Replies
rproffitt 2,701 https://5calls.org Moderator
samueltarcin999 0 Newbie Poster
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
Vince_6 0 Newbie Poster
asadalikhan 3 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.