LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


View Poll Results: Was this helpful?
Very much 0 0%
Kinda 0 0%
Don't care 1 100.00%
Waste of my time 0 0%
Voters: 1. You may not vote on this poll

Reply
  Search this Thread
Old 10-31-2003, 12:10 PM   #1
andguent
Member
 
Registered: Sep 2003
Distribution: Woody, SuSE, RH, LAS
Posts: 55

Rep: Reputation: 15
Lightbulb Mini Answer: scriptable smb message with AT command


I was fiddling around trying to get smbclient to send me a "winpopup" message at a certain time as a reminder. Since I never did find the answer online, I will post my findings here for the fun of it.

I took these 3 commands:
Code:
echo "It's noon"
smbclient -M workstation01
at noon
and combined them into one line:
Code:
echo "echo "It's noon" |smbclient -M workstation01 &" | at noon

Broken down, thats:
Code:
echo "It's noon" | smbclient -M workstation01
handed to
Code:
at noon
with a & in the middle to force the Ctrl-D

Hope someone can use it. Enjoy.

Last edited by andguent; 10-31-2003 at 12:22 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scriptable image editor? J_Szucs Linux - Software 1 08-21-2005 09:43 PM
Answer on the 'urpmi database locked' message bglnelissen Mandriva 1 03-04-2005 02:47 PM
command not found error message dcarlis Linux - Newbie 3 10-21-2004 07:30 PM
How to use command to send message to others? chinaundead Linux - General 4 05-09-2004 09:09 PM
I need floppy mini linux with nfs client and dd command cccc Linux - Distributions 2 10-04-2003 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration