By Pieter J.van horssen on Friday, 19 February 2016
Posted in Technical Issues
Likes 0
Views 1.2K
Votes 0
My test server runs on windows 10 and want to test the remote publishing function.
What "cron" job do I set in a windows scheduled task?
Hey there,

I am really sorry for the delay of this reply,

I've tried to manually run this cron URL on browser

http://happyhome.xs4all.nl/en/?option=com_easyblog&task=cron

It seems like your remote publishing is configured correctly, if you see following output, you will see "2 emails fetched from mailbox", which mean that was import successfully.

{"emails":{"status":200,"type":"info","message":"There are no pending emails that needs to be dispatched currently."},"email_import":{"status":200,"type":"info","message":"2 emails fetched from mailbox."},"twitter_import":{"status":200,"type":"info","message":"No Twitter accounts associated on the site. Skipping this"},"scheduler_publish":{"status":"","type":"","message":""},"scheduler_unpublish":{"status":200,"type":"success","message":"Executed query to process posts to be unpublished."},"scheduler_remove_tmp_files":{"status":"","type":"","message":""},"scheduler_remove_blank_posts":{"status":200,"type":"info","message":"Blank posts removed"}}


But now I know your cronjob configuration is not configure correctly, may i know are you still using Windows 10 task scheduler proceed your cronjob?

Perhaps do you have any hosting control panels? If yes, you can provide us with your hosting control panel access as well.
·
Thursday, 25 February 2016 17:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Pieter,

Do you use any particular control panels? Generally control panels would create a wrapper that helps you setup the scheduled tasks.

If you do not run any control panel, you need to create a scheduled task in Windows. Load up your scheduled task in Windows 10 and set it to load the browser
·
Friday, 19 February 2016 23:11
·
0 Likes
·
0 Votes
·
0 Comments
·
I have wget now running from the Task scheduler and that seems to go okay.
I keep getting error 300 telling me that there is no mail in the specific mailbox to go into Easyblog.
{"emails":{"status":200,"type":"info","message":"There are no pending emails that needs to be dispatched currently."},"email_import":{"status":200,"type":"info","message":"No emails found in mailbox."},"twitter_import":{"status":200,"type":"info","message":"No Twitter accounts associated on the site. Skipping this"},"scheduler_publish":{"status":200,"type":"info","message":"No scheduled posts to process currently."},"scheduler_unpublish":{"status":200,"type":"success","message":"Executed query to process posts to be unpublished."},"scheduler_remove_tmp_files":{"status":"","type":"","message":""},"scheduler_remove_blank_posts":{"status":200,"type":"info","message":"Blank posts removed"}}
·
Tuesday, 23 February 2016 00:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Pieter,

You can ignore this as this is not an error. The output is actually a JSON string so it seems like there are errors but it isn't an error

As for the message "no mail in the specific mailbox", this basically means that there are no emails pending to be published. Are there any pending emails on your blog's mailbox?
·
Tuesday, 23 February 2016 01:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the info. There are actually mail items in that particular mailbox.
·
Tuesday, 23 February 2016 02:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Pieter,

I actually need to check your site to see your settings for remote publishing. Perhaps the settings isn't correct, therefore even if the cronjob is working fine, it isn't pulling any information.

1. Can you provide us with the back end and FTP access?

2. Can you provide us with the email access and webmail ?
·
Tuesday, 23 February 2016 02:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Of course I can get you this info but how do I do that secure?
·
Tuesday, 23 February 2016 07:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Pieter,

You could either do this by:

1. Editing your first post above.

or

2. Enter them at http://stackideas.com/dashboard/site
·
Tuesday, 23 February 2016 09:02
·
0 Likes
·
0 Votes
·
0 Comments
·
I have updated the site details with the requested info.
·
Wednesday, 24 February 2016 02:29
·
0 Likes
·
0 Votes
·
0 Comments
·
That sounds promising.
I do not have a control panel on my local machine and yes, I am using win10 Task scheduler to run the cronjob.
I will check the configuration of the Task scheduler and see what is wrong.
Now that I know that the remote publishing configuration is correct, I will setup the same on the production server.
At my hoster I use cPanel to do the cron configuration. That might be easier.

Thanks so far for checking out my issue.

Rgrd,
Pieter
·
Thursday, 25 February 2016 17:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Pieter,

You are most welcome! I hope your issue can be solved without further problems. Do inform us on the update!
·
Thursday, 25 February 2016 17:47
·
0 Likes
·
0 Votes
·
0 Comments
·
I had to change the url in the Task Planner. It did not contain the language code (/EN/), therefore the url did not work.
After that it works like a dream.
So, I will now update my production site and all should be well....
·
Friday, 26 February 2016 20:33
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome, glad to heard you said everything is working fine.
·
Saturday, 27 February 2016 10:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post