close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Need help with Cron Job using Webassist code

Thread began 8/04/2020 7:55 am by lr_leal239405 | Last modified 8/04/2020 10:32 am by Ray Borduin | 489 views | 2 replies |

lr_leal239405

Need help with Cron Job using Webassist code

I have a cron job that works when I load the page, but won't fire up when in Cron. I see that whenever I use the Webassist code, it won't fire, but it will if I get it off. So I tried to rewrite it in pure php, but I still have issues. Can you take a look and let me know if you can help? See files attached

Sign in to reply to this post

Ray BorduinWebAssist

Webassist code is pure php. I can't think of any reason it wouldn't work when run through a cron. My guess is that it something wrong with the cron. What is the cron you used? I could help you debug this in a premier support ticket.

Sign in to reply to this post
Did this help? Tips are appreciated...

lr_leal239405

So, the Cron is the attached file above. It's to read the incoming emails and put them into a database. When I open the page in browser, it does the work: reads the email and puts it in the database (with Webassist code). When I set the cron job thru Control Panel (Godaddy) to run the file every minute or so, It doesn't put anything into the database. But I know the path to the cron is correct because I tried simplifying it (removing the lines:

<?php require_once('../../Connections/convacc_cx.php'); ?>
<?php require_once('../../webassist/mysqli/rsobj.php'); ?>
<?php require_once('../../webassist/mysqli/queryobj.php'); ?>

it replacing code with per my other file I attached, it runs but I have some blank fields. I guess I need to write the PHP correctly.

I'll try calling you.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...