public String serviceName_cron_POST ( String serviceName , String command , String description , String email , String frequency , OvhLanguageEnum language , net . minidev . ovh . api . hosting . web . cron . OvhStatusEnum status ) throws IOException { String qPath = "/hosting/web/{serviceName}/cron" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "command" , command ) ; addBody ( o , "description" , description ) ; addBody ( o , "email" , email ) ; addBody ( o , "frequency" , frequency ) ; addBody ( o , "language" , language ) ; addBody ( o , "status" , status ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , String . class ) ; }
Create new cron