That is not the best idea. When it is near dying, you should stop driving it just in case it breaks down on you in the middle of a highway or something like that.
A car battery would keep dying because inversely, the lesser the battery is used, the dying process continues. The more the battery is used, the lesser the dying process. But the dying commences and continues , the moment the car engine is not used. Thus, as often as the car is being used, the dying "resumes" the moment tne engine stops. And the faster it is used again, the slower the dying process.EVerytime the car engine is used, the battery recharges, thus life is given back to the battery. Once the engine stops, the dying resumes. This is why the car battery keeps on dying (everytime the car engine is not being used)
Lots of things .. on a mechanical level When the diesel starts a glow plug causes the ignition after the initial start the glow plug turns off and the engine relys on high compression to heat the charge to ignition point. If your engine has poor compression you won't have ignition. Poor compression would be caused by engine / valve wear, burnt valve seats. Of course modern diesel engines are electronically controlled so it could be any number of other things. You can read out the fault codes from many cars by shorting pins on the service connector and counting flashes of a light on the dash.
could be fuel filter
it might be because your car battery is low or dead
mine died because of a faulty fuel pump
Automatic License revocation
It means your battery is dying
loose or dirty terminals?
You can get it scanned for free at any Advance Auto parts store. You'll need to know what code the engine light is on for. Could be as simple as a fuel filter.
This engine I am assuming one of the military types are sensitive to fuel supply problems and fuel filter issues. Drain the water traps clean or replace all the fuel filters. verify the oil pressure with a known good mechanical gauge the oil pressure may be too low. The cutoff will shut the engine down when the oil pressure is too low.
Check the oxygen sensor. My 1995 Grand Cherokee stopped stalling while driving after it was replaced.