Computing.Net > Forums > Unix > how to send net send daily at a certain

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to send net send daily at a certain

Reply to Message Icon

Name: Sharadaprasad
Date: July 25, 2001 at 22:32:14 Pacific
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: July 26, 2001 at 20:14:42 Pacific
Reply:

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.


0

Response Number 2
Name: Rovok
Date: October 25, 2001 at 03:48:30 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: how to send net send daily at a certain

How to send mail on UNIX to smtp mail www.computing.net/answers/unix/how-to-send-mail-on-unix-to-smtp-mail/2394.html

how to send mail from unix script www.computing.net/answers/unix/how-to-send-mail-from-unix-script/7525.html

How to send mails from unix to lotus notes. www.computing.net/answers/unix/how-to-send-mails-from-unix-to-lotus-notes/8389.html