简体   繁体   English

虚拟专用服务器问题

[英]Virtual Dedicated Server Question

I have a Virtual Dedicated Server, how can I run an application periodically (ie: every Monday - 19:00). 我有一台虚拟专用服务器,如何定期运行应用程序(即:每个星期一-19:00)。 I mean, the application starts automatically at a given time. 我的意思是,该应用程序在给定的时间自动启动。

Is there any way to do it with Java, Ajax, PHP? 使用Java,Ajax,PHP有什么办法吗? (sorry, I'm noob) (对不起,我是菜鸟)

You can create scheduled tasks in windows and cron jobs in linux/*nix like systems. 您可以在Windows和类似Linux / * nix的系统中的cron作业中创建计划任务。 If you can run programs on the server and want to use java you can use timers to schedule your task - here is a simple example . 如果您可以在服务器上运行程序并希望使用Java,则可以使用计时器安排任务的时间-这是一个简单的示例

I'm assuming your server is linux. 我假设您的服务器是linux。 You may be able to do this with webmin. 您可以使用webmin来做到这一点。 You will need to use command line to install webmin and setting up a crontab from command line is really not that hard to do. 您将需要使用命令行来安装webmin,并且从命令行设置crontab确实不那么难。

Here is a tutorial for crontab. 这是crontab的教程。 http://www.linuxweblog.com/crotab-tutorial http://www.linuxweblog.com/crotab-tutorial

What OS does the server run? 服务器运行什么操作系统?

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

相关问题 专用服务器上的elasticsearch RemoteTransportException - elasticsearch RemoteTransportException on dedicated server 专用的MySQL服务器可与App Engine一起使用 - Dedicated MySql server works with app engine 侦听器无法启动专用服务器进程 - listener failed to start a dedicated server process 为什么进程专用内存在服务器上减少了? - Why does dedicated memory to a process reduces on the server? EJB是否需要专用服务器才能使用? - Does EJB need a dedicated server in order to be used? 关于java中虚拟方法的问题 - question about virtual methods in java 什么样的应用程序可以作为专用的应用程序服务器? - What kind of application would serve as a dedicated application server? 有没有一种方法可以在不需要专用服务器的情况下使用 Java 存储信息? - Is there a a way I can store information with Java without requiring a dedicated server? Spring运行我的仅用于测试的类,并在服务器上覆盖'/'目录 - Spring runs my class dedicated for tests only and override '/' dir on server 如何在托管切片/专用服务器上设置Java Web体系结构? - How to setup java web architecture on hosting slice/dedicated server?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM