Z
Z
Zulusho2015-01-23 14:46:59
Java
Zulusho, 2015-01-23 14:46:59

Where to place self-written Java scripts for round-the-clock work?

I would like to use Java to implement scripts on the VK API that would automatically
change the audio recording in the group status / check the proposed news / new comments on topics,
and, in which case, send an email notification (or Pushbullet notification - api.pushbullet.com/v2/ pushes).
The VK API has corresponding methods. (audio.setBroadcast, wall.get, board.getComments)
Accordingly, the questions are:
1. Is it possible at all?
2. My computer is not running 24/7, but I would like the scripts to run all the time. Where can they be placed? In which direction to google on this issue?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
I
iliyaisd, 2015-01-23
@Zulusho

You need to make an outgoing http request according to the VK API which executes the appropriate methods. To around the clock - buy a cheap VPS (firstvds.ru, primahost.info), put this spinning java script on it.
IMHO, it's easier to do this in PHP.

A
Alex, 2015-01-23
@isqua

2. Try the Heroku platform.

K
Kolya K, 2015-01-23
@Kolyagrozamorey

What is wrong with VPS/VDS?

P
panaceya, 2015-01-23
@panaceya

$5 VPS, or hosting with cron support.

G
Gluck Virtualen, 2015-01-25
@gluck59

VPS? And why don't you recommend Dedicated - it's even more expensive...
Haven't you confused Java with Javascript? If yes, then they will not work around the clock.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question