简体   繁体   English

在控制台中监控谷歌应用引擎cron作业?

[英]Monitor google app engine cron jobs in console?

This might be a dumb question, but, i just can't find cron jobs panel, I've got an app in java and I need to refresh the data every day, so I create this cron.xml inside WEB-INF: 这可能是一个愚蠢的问题,但是,我只是找不到cron jobs面板,我在java中有一个应用程序,我需要每天刷新数据,所以我在WEB-INF中创建了这个cron.xml:

<?xml version="1.0" encoding="UTF-8"?>
<cronentries>
    <cron>
        <url>/refreshdata</url>
        <description>Daily data refresh cron task </description>
        <schedule>every day 05:00</schedule>
    </cron>
</cronentries>

I deployed it, but it doesnt work and I cant find the "cron job panel" in console to monitor it or even check if GAE recognizes it... 我部署了它,但它不起作用,我无法在控制台中找到“cron作业面板”来监控它,甚至检查GAE是否识别它......

Documentation says " (You can verify the Cron job you just deployed by clicking Cron Jobs in the left nav pane.) http://i.stack.imgur.com/1niVt.png " 文档说“”(您可以通过单击左侧导航窗格中的Cron Jobs来验证刚刚部署的Cron作业。) http://i.stack.imgur.com/1niVt.png

but it doesn't exist anymore, gae's console UI changed, where it is now? 但它不再存在,gae的控制台UI改变了,它现在在哪里? I tried in logs without success 我在日志中尝试没有成功

it is something wrong with my .xml? 我的.xml有问题吗?

Any help would be apreciated, thanks. 任何帮助都会被贬低,谢谢。

If you are using the new Console for your projects in app engine then this is how it will look like after you have selected a project to view from https://console.developers.google.com/project using your google account. 如果您在app引擎中为项目使用新的控制台,那么在您使用Google帐户从https://console.developers.google.com/project选择要查看的项目之后,这就是它的样子。

Hope it helps! 希望能帮助到你!

您可以在任务队列下找到它,您应该能够在该视图中看到Cron作为选项卡

On Cloud developers console, it should be available at this location: 在云开发人员控制台上,它应该在以下位置可用:

https://console.developers.google.com/project/your-project-id/appengine/taskqueues?tab=CRON https://console.developers.google.com/project/your-project-id/appengine/taskqueues?tab=CRON

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

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