#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    entlegen
    Posts
    442
    Rep Power
    14

    : how to send a mynews.news in cron at redhat 7.2???


    in cron I have
    55 22 * * * /home/sally/Programming.nws
    in Programming.nws , I have


    quote:
    --------------------------------------------------------------------------------

    From: "myaccount" <myaccount@hotmail.com>
    Newsgroups: news.groupr here
    Subject: title
    Date: Tue, 26 Feb 2002 21:55:16 -0000
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Unsent: 1
    X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
    content here





    --------------------------------------------------------------------------------

    I only know how to send news from IE!!!!!!!I got no idea of how to do the above in linux based machine.
    regards,

    wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
    first I must revise C program thro' example, what's next?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    Programming.nws appears to be a plain ASCII file. What makes you think that it's executable? If you need to send a message with the content of Programming.nws, just pipe it to your mailer.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    entlegen
    Posts
    442
    Rep Power
    14
    how to this??


    mail programming.news | ????

    I do not know how????
    regards,

    wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
    first I must revise C program thro' example, what's next?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    191
    cat programming.nws|mail user@domain.com

    or

    mail user@domain.com < programming.nws
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    entlegen
    Posts
    442
    Rep Power
    14
    how to send message to newsgroups not sending the content to a email????????????????
    regards,

    wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
    first I must revise C program thro' example, what's next?
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    191
    Oh, news. Need to look at the docīs of "inn" then i guess. sorry, i canīt tell you anymore. i never did that.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    entlegen
    Posts
    442
    Rep Power
    14
    I need to send news message to news group via cron.
    cron part is easy.
    [root@mail sally]# rpm -qa | grep inn
    kde-i18n-Finnish-2.1.1-2
    inn-devel-2.3.1-2
    inn-2.3.1-2
    [root@mail sally]# cd /usr/local
    [root@mail local]# ls
    bin doc etc games info lib lost+found man sbin src
    [root@mail local]# cd news
    bash: cd: news: No such file or directory
    [root@mail local]# /etc/rc.d/init.d/ innd start
    bash: /etc/rc.d/init.d/: is a directory
    [root@mail local]# /etc/rc.d/init.d/innd start
    No mail for sally
    Please run makehistory and/or makedbz before starting innd.
    [root@mail local]# makehistory
    [root@mail local]# /etc/rc.d/init.d/innd start
    No mail for sally
    Please run makehistory and/or makedbz before starting innd.
    [root@mail local]#
    Last edited by pentium5; March 8th, 2002 at 07:54 PM.
    regards,

    wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
    first I must revise C program thro' example, what's next?
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    191
    i donīt have inn installed right now, but i think there is a command that does the "mail" job for news. called like "imail" or "inews" or similar.

    you donīt need to start the daemon though. it is only for running a local news server which needs quite some setup done before.

    you probably donīt want this.

IMN logo majestic logo threadwatch logo seochat tools logo