[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #PEC-261362]: Running IDV in the cloud to generate images



> Hi, we have been working in IDV to generate weather products for the
> Central American region. Now we want to automate the generation of this via
> ISL scripts and the bundles. but IDV seems is not working when running on a
> linux cloud server seems something related to graphics, we intend to cron
> this scripts and don't need to view the process  just to generate, as we
> can see the process in the local machine and then just automate in linux.
> 
> Is there a way to run this via crons?
> 
> this is what happens in the linux cloud server
> 
> [image: image.png]
> 
> thanks
> 
> 
> 
> 
> Norman E. Avila G.
> 
> ClimaYa
> GUA    (+502) 2360-9950
> 
> 
Hi Norman,

Yes, you can do it in the cloud server to use xvnc, xvfb,  or xdummy. See the 
attached example.


Yuan 

Ticket Details
===================
Ticket ID: PEC-261362
Department: Support IDV
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.
#!/bin/bash

export DISPLAY=:0
cd $HOME
./killname Xorg.azureuser
./killname Xdummy
xargs ./Xdummy -reset >xdummylog 2>&1 &

#echo `grep DISPLAY /home/xdummylog|cut -d ' ' -f4`
#echo $dd
cd $HOME/IDV_5.0u1
export DISPLAY=:0
echo "RUNNING ON "$DISPLAY >>log
echo "STARTED "`date` >> log
./runIDV
echo "DONE "`date` >> log