Email Sending

Email Sending

Postby skitbane » Mon May 19, 2014 9:44 am

Hi Everyone,


I have a problem with my python script that is ran thru cron job. The program works as described below

1.) I have an nmap bash script that runs on an hour it will be output to a file. that will consist only the open ports and the involved IP's
2.) The python script will now read the file being generated by bash. and will undergo string manipulation and comparison of the safe ports.
3.) It will now send the processed results. to our emails using SMTPLib.

This will work fine if I ran it manually but if this will be ran thru cron it will just give me a blank output.
Last edited by stranac on Mon May 19, 2014 9:52 am, edited 1 time in total.
Reason: First post lock.
skitbane
 
Posts: 1
Joined: Mon May 19, 2014 8:45 am

Return to Networking

Who is online

Users browsing this forum: No registered users and 2 guests

cron