Nav apraksta

PushWorkorder.cs 671B

123456789101112131415161718192021222324252627282930313233
  1. using CallCenter.Utility;
  2. using CallCenterApi.DB;
  3. using Newtonsoft.Json;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Data;
  7. using System.Linq;
  8. using System.Net;
  9. using System.Text;
  10. using System.Threading;
  11. using System.Threading.Tasks;
  12. namespace CallCenter.QuartzService
  13. {
  14. public class PushWorkorder : QuartzJob
  15. {
  16. public PushWorkorder()
  17. {
  18. CronExpression = "0 0/30 * * * ?";
  19. DoWork += PushApp;
  20. }
  21. public void PushApp(object sender, EventArgs e)
  22. {
  23. var Dataurl = HttpMethods.HttpPost("http://222.143.144.10:8002/PushMessage/SmsOverTime");
  24. }
  25. }
  26. }