简体   繁体   English

我们如何在共享主机中设置 exe?

[英]how can we setup exe in shared hosting?

Hi,你好,
I have a shared hosting and i want to place one exe on root of the directory and我有一个共享主机,我想在目录的根目录上放置一个 exe,然后
want to run that exe once in a day.想一天运行一次那个exe。
Is there any way to achieve this?有什么办法可以做到这一点?
Or或者
should we need to buy dedicated hosting?我们是否需要购买专用主机?
Please help!!请帮忙!!

Generally not with shared hosting.通常不使用共享主机。

If you really want to execute a program on a schedule on your web server, at a minimum you're going to need some kind of hosting where you have enough control over the OS to access its task scheduling mechanism.如果您真的想在 web 服务器上按计划执行程序,那么您至少需要某种托管,您可以在其中对操作系统有足够的控制权以访问其任务调度机制。

This kind of control is generally available at minimum with a VPS (Virtual Private Server) or shell account, depending on platform.这种控制通常至少可以使用 VPS(虚拟专用服务器)或 shell 帐户,具体取决于平台。

You can use Windows Task Scheduler to run programs once a day such as bat files or scripts.您可以使用Windows Task Scheduler程序每天运行一次程序,例如bat文件或脚本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM