Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I want to send DOS messaging service net send every day at a certain time. How to do this. how to set it as well as remove it?
Thanks and regards
Sharadaprasad

I'm assuming that you are asking how to schedule something to be done every day at a certain time and not how to "...send DOS messaging service net send". Cuz I have no idea what that is or how to do it.
But to schedule something you use cron. Use 'man' to look up 'cron' or 'crontab' because I won't remember it well enough to give it to you exactly.
What I do on SCO UNIX and Linux is run 'crontab -e' to edit the cron table, which is were scheduled tasks are stored. You'd enter a line similiar to:
1 0 0-6 * * /u/me/bin/mycommand
Again, look at the docs cuz I'm doing this from memory. But the first five items specify the time and day(s) to run the command. If I remembered the order correctly, the above says to run the command at 1am on every day of the week. (I'm remembering that the first column is hour, second column is minute, third is day of week).
The last item is the command to run. It'll be run as root, so usually you have to provide the entire path, unless root is set up with the proper path. Also, any stdout or stderr needs to be redirected or else it will be sent via email to the root user.

Hi,
i think he / she meant how to do it under DOS respective Windows NT.
Under Windows NT, it's the AT command which could be seen as a cron daemon for Windows. ;)
Unfortunately I don't know how to use it, but a at /? should do it.
Greetz,
Rovok - UNIX - Freak

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |