pwired Posted March 16, 2015 Share Posted March 16, 2015 Hi, For automated jobs like backups, pings, emailalerts, sms, etc there is of course cron jobs. But lately I have in my mind how to use processwire that could do these things. Would it not be great to use the api of processwire, php scripts inside inc files, etc. etc. and then have somehow the admin to handle all this. Would this be something useful to do ? I think it would also serve as a great way to learn more about processwire. You guys can give me a start ? How would I send a ping with processwire to see if a website is alive and then send an email about it ? How would I setup a timer in processwire in general. How would I use this timer to send an automated mail to check if a clients email program is still receiving emails ok. Link to comment Share on other sites More sharing options...
horst Posted March 16, 2015 Share Posted March 16, 2015 (edited) In a first glance it looks interesting, but after the second I would say it isn't worth. You just would mimik something what is already available, only on another layer. For me it would be better to invest the needed energy into something like using linux / unix system calls via ssh. There is already everything one need for those stuff. And if one do not have access to shell on cheap shared hostings, I believe one also will not get something useful to work via a PHP-PW extra layer. EDIT: and for all things related to PW, I use bootstrap scripts from the commandline. Edited March 16, 2015 by horst 2 Link to comment Share on other sites More sharing options...
LostKobrakai Posted March 16, 2015 Share Posted March 16, 2015 What I could imagine is using processwire as dashboard for those information, but the tools to analyse these things just wouldn't benefit from processwire itself. 1 Link to comment Share on other sites More sharing options...
pwired Posted March 16, 2015 Author Share Posted March 16, 2015 @LostKobraKai What about writing your own modules as these tools ? Link to comment Share on other sites More sharing options...
Soma Posted March 16, 2015 Share Posted March 16, 2015 Your post always read like this: You should not make line breaks. 1 Link to comment Share on other sites More sharing options...
pwired Posted March 16, 2015 Author Share Posted March 16, 2015 Ok Soma, thanks for the feed back, I have this habit also when I write my emails. Let me work on it. Link to comment Share on other sites More sharing options...
Recommended Posts