Solved

sending job scheduling to a distant pc

Posted on 2003-10-28
2
166 Views
Last Modified: 2010-04-14
I need to start some batch files on a distant pc trough the internet and via broadband connection. This pc is behind a modem-routeur-firewall (port 80 and 21 opened). How can I send a task scheduling to this pc to start my batch file (sending previously by ftp).

PS : I succeeded to send a job scheduling to another pc but it was in a local network and with the function 'RASDIAL'. Is there an equivalent to solve my problem ?
0
Comment
Question by:yougy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 9641014
Provided that the file doesn't need to be run immediately after upload, the safest way is probably by using the task scheduler. That keeps you from having to open additional ports on your firewall and from sending administrator passwords over the internet.
Create an account on the machine (or the domain, if present), for example "SrvFTPTask"; give it the necessary rights. Use this account to schedule a task to run, for example, every 15 minutes. The task to run would be a batch file that looks for the presence of your new batch, and, if found, executes it and then either marks it as executed or deletes it.
Can you provide some more informations about what you want to achieve with the uploaded batch?
0
 

Author Comment

by:yougy
ID: 9648566
Thanks for your reply. I think your solution is the most secured.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question