Cron Jobs [英] Cron Jobs

查看:57
本文介绍了Cron Jobs的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果这是在错误的地方,我道歉,但我有一个关于CRON工作的基本问题。我的提供商有一个小程序,我猜测它会自动创建CRON作业。基本上我复选框说出我希望它运行的频率,然后输入一个命令来运行。我想要一个我的php文件来运行,但是我不能让它工作。


我试过了:

http:// mydomain .com / myfolder / myphpfile.php

/home/public_html/myfolder/myphpfile.php


以及其他一些我不记得了。应该是一个run()或周围的东西,还是我完全偏离轨道?!


感谢您的帮助,

Servant

解决方案

好的,我找到了一个解释我想要的网站。唯一的问题是它不起作用!


这是我的命令:

/home/myusername/public_html/myfolder/myfile.php

我认为您必须遵循提供商的指导原则或与他联系,以获得您希望由他的程序执行的命令的正确格式。


Ronald


谢谢ronverdonk,

刚刚做了,我有它的工作。这可以关闭。


I apologies if this is in the wrong place, but I have a basic question about CRON jobs. My provider has a little program, which I am guessing automatically creates CRON jobs. Basically I check boxes to say how often I want it to run and then enter a command to run. I want a php file of mine to run, but I can''t get it to work.

I have tried:
http://mydomain.com/myfolder/myphpfile.php
/home/public_html/myfolder/myphpfile.php

And a few others which I can''t remember. Should tehre be a run() or something around that or am I completely off track?!

Thanks for your help,
The Servant

解决方案

OK, I have found a site which explained what I wanted. Only problem is it''s not working!

This is my command:
/home/myusername/public_html/myfolder/myfile.php


I think you''ll have to follow your provider''s guidelines or contact him in order to get the correct format of the command you want to be executed by his program.

Ronald


Thanks ronverdonk,
Just did and I have it working. This can be closed.


这篇关于Cron Jobs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆