d3orn / hikomsys

hikomsys
3 stars 1 forks source link

Cron Jobs #16

Open d3orn opened 10 years ago

d3orn commented 10 years ago

Gitrepo cloning and MSE creation sould be done with a cron job to let the user continue browsing HIKOMSYS while waiting for his project to appear.

d3orn commented 10 years ago

cron is probablly not the best solution. Asynchron bash should be enough

d3orn commented 10 years ago

asynschronous bash with a call to a file

  1. pharo do it's thing
  2. php callback with infos to gmail server and which add a notification to the user
d3orn commented 10 years ago

pharo-vm-nox datagatherer/Hikomsys.image runDataGatherer --projectName=$1 php send_email.php $2

// exec('./datag.sh '. $folderName.' '. $user.id.' 1>>filename.message 2>>filname.error &')

d3orn commented 10 years ago

I should definitly add a waiting indicator to show that there is something going on in the backend