Could you clarify that a bit? Perhaps just describe what you're trying to do rather than ask highly generalized questions.
Can I put a perl script to sleep and awake it whenever I want.
Yes, if, for example, the script has a signal handler.
I SSH to Linux server.
How does this relate to your question?
Do I need to run my perl script directly on server in order to sleep and awake?
Where it runs has no effect on its ability to sleep and be awakened. Perhaps what you are attempting will require the script to be on the server but we can't tell from the question.
Do tell.
Be Appropriate && Follow Your Curiosity
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.